Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 105.4 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009953/0.0009953, allocations: 52 kB / 300.1 MB, free: 6.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1121, allocations: 49.44 MB / 349.6 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002778/0.1149, allocations: 1.542 MB / 351.1 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006469/0.1156, allocations: 434.9 kB / 351.5 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.1157, allocations: 0 / 351.5 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.1157, allocations: 0 / 351.5 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.1158, allocations: 11.92 kB / 351.6 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1161, allocations: 27.92 kB / 351.6 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.1162, allocations: 39.86 kB / 351.6 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1163, allocations: 11.97 kB / 351.6 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.1164, allocations: 23.88 kB / 351.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.1164, allocations: 15.92 kB / 351.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1165, allocations: 4 kB / 351.7 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.1165, allocations: 0 / 351.7 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.1165, allocations: 11.98 kB / 351.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.1166, allocations: 15.88 kB / 351.7 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.1167, allocations: 35.88 kB / 351.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1167, allocations: 0 / 351.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1167, allocations: 0 / 351.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1167, allocations: 0 / 351.7 MB, free: 2.621 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004684/0.1172, allocations: 351.6 kB / 352.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1172, allocations: 11.97 kB / 352.1 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1173, allocations: 8.844 kB / 352.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1174, allocations: 180.3 kB / 352.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1174, allocations: 8.375 kB / 352.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1175, allocations: 4.312 kB / 352.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.1178, allocations: 123.5 kB / 352.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1178, allocations: 4 kB / 352.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1179, allocations: 3.984 kB / 352.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1179, allocations: 0 / 352.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.118, allocations: 19.98 kB / 352.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.1181, allocations: 161.6 kB / 352.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1183, allocations: 66.47 kB / 352.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.1184, allocations: 24.92 kB / 352.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1184, allocations: 0 / 352.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1184, allocations: 38.5 kB / 352.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1184, allocations: 0 / 352.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002545/0.1187, allocations: 73.66 kB / 352.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.1188, allocations: 63.34 kB / 352.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.1189, allocations: 109.8 kB / 353 MB, free: 1.199 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1189, allocations: 25.7 kB / 353 MB, free: 1.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.1189, allocations: 88.14 kB / 353.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.119, allocations: 0 / 353.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.119, allocations: 13.72 kB / 353.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1191, allocations: 318.8 kB / 353.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.1192, allocations: 8 kB / 353.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.1192, allocations: 27.44 kB / 353.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.1192, allocations: 39.36 kB / 353.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1193, allocations: 4 kB / 353.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.315e-05/0.1193, allocations: 53.55 kB / 353.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1194, allocations: 15.06 kB / 353.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1194, allocations: 3.984 kB / 353.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1194, allocations: 0 / 353.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.223e-05/0.1195, allocations: 11.94 kB / 353.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1195, allocations: 0 / 353.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.1195, allocations: 4 kB / 353.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1195, allocations: 3.938 kB / 353.6 MB, free: 0.543 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/0.1196, allocations: 118.3 kB / 353.7 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1197, allocations: 61.61 kB / 353.7 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.1198, allocations: 7.906 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1198, allocations: 0 / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1198, allocations: 3.938 kB / 353.8 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1198, allocations: 0 / 353.8 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.127e-05/0.1199, allocations: 165.6 kB / 353.9 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1199, allocations: 0 / 353.9 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.12, allocations: 15.92 kB / 353.9 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.12, allocations: 7.938 kB / 353.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.12, allocations: 0 / 353.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.12, allocations: 0 / 353.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.12, allocations: 0 / 353.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.1202, allocations: 89.19 kB / 354 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.1202, allocations: 85.33 kB / 354.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1202, allocations: 4 kB / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.1203, allocations: 11.98 kB / 354.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.1203, allocations: 0 / 354.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1203, allocations: 0 / 354.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.1203, allocations: 87.28 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1204, allocations: 0 / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000188/0.1205, allocations: 4 kB / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.996e-05/0.1207, allocations: 118.6 kB / 354.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1208, allocations: 28.05 kB / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1208, allocations: 0 / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.1208, allocations: 0 / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.121, allocations: 29.95 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.1213, allocations: 142.5 kB / 354.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1216, allocations: 0.6848 MB / 355.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.166e-05/0.1216, allocations: 0 / 355.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.1217, allocations: 15.42 kB / 355.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1217, allocations: 0 / 355.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Templates: time 0.002321/0.124, allocations: 348.8 kB / 355.6 MB, free: 14.38 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches