Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 63.91 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1052, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00264/0.1079, allocations: 1.514 MB / 428.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.1087, allocations: 482.7 kB / 428.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.1087, allocations: 4 kB / 428.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.1088, allocations: 3.938 kB / 428.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.1088, allocations: 3.938 kB / 428.7 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1091, allocations: 31.91 kB / 428.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.938e-05/0.1092, allocations: 39.86 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.1093, allocations: 15.98 kB / 428.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1094, allocations: 23.86 kB / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.1095, allocations: 19.92 kB / 428.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1095, allocations: 0 / 428.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-05/0.1095, allocations: 7.984 kB / 428.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.1096, allocations: 8 kB / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.1096, allocations: 15.88 kB / 428.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1097, allocations: 47.75 kB / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.1097, allocations: 0 / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1097, allocations: 4 kB / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1097, allocations: 3.938 kB / 428.9 MB, free: 2.785 MB / 350.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.0004744/0.1102, allocations: 351.3 kB / 429.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1103, allocations: 8.031 kB / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.1103, allocations: 38.69 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1104, allocations: 16.92 kB / 429.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1106, allocations: 176.3 kB / 429.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1107, allocations: 8.375 kB / 429.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1107, allocations: 4.375 kB / 429.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.111, allocations: 111.4 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.111, allocations: 3.984 kB / 429.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.111, allocations: 3.938 kB / 429.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.111, allocations: 4 kB / 429.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.1111, allocations: 23.98 kB / 429.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.1112, allocations: 161.6 kB / 429.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1114, allocations: 50.55 kB / 429.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.1114, allocations: 28.92 kB / 429.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1114, allocations: 0 / 429.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1115, allocations: 42.5 kB / 429.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1115, allocations: 0 / 429.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002156/0.1117, allocations: 69.61 kB / 430 MB, free: 1.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1118, allocations: 59.41 kB / 430 MB, free: 1.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.1118, allocations: 113.8 kB / 430.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1119, allocations: 25.7 kB / 430.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.1119, allocations: 84.14 kB / 430.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.1119, allocations: 4 kB / 430.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1119, allocations: 17.72 kB / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1121, allocations: 314.8 kB / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.1121, allocations: 4 kB / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.1121, allocations: 35.75 kB / 430.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.1122, allocations: 35.44 kB / 430.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1122, allocations: 7.875 kB / 430.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.157e-05/0.1122, allocations: 61.52 kB / 430.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1123, allocations: 7.938 kB / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1123, allocations: 0 / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1123, allocations: 4.125 kB / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.1123, allocations: 8 kB / 430.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1123, allocations: 7.984 kB / 430.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.1124, allocations: 3.938 kB / 430.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.1124, allocations: 0 / 430.7 MB, free: 0.668 MB / 350.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.592e-05/0.1124, allocations: 117.8 kB / 430.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1126, allocations: 61.62 kB / 430.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.1126, allocations: 7.891 kB / 430.9 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1126, allocations: 4 kB / 430.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1126, allocations: 4 kB / 430.9 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1126, allocations: 0 / 430.9 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1127, allocations: 165.6 kB / 431.1 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1127, allocations: 0 / 431.1 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.1128, allocations: 11.94 kB / 431.1 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1128, allocations: 336 / 431.1 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1128, allocations: 0 / 431.1 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1128, allocations: 0 / 431.1 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1128, allocations: 4 kB / 431.1 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.1129, allocations: 101 kB / 431.2 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.113, allocations: 88.98 kB / 431.3 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.113, allocations: 4.047 kB / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.1131, allocations: 4 kB / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-06/0.1131, allocations: 0 / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1131, allocations: 0 / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.1131, allocations: 91.22 kB / 431.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1131, allocations: 0 / 431.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001771/0.1133, allocations: 8 kB / 431.4 MB, free: 15.89 MB / 366.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 0.0004568/0.1138, allocations: 0.6202 MB / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1139, allocations: 27.98 kB / 432 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1139, allocations: 0.5312 kB / 432 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.1139, allocations: 4 kB / 432.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1141, allocations: 31.8 kB / 432.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1151, allocations: 1.194 MB / 433.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1154, allocations: 0.6807 MB / 434 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.449e-05/0.1154, allocations: 0 / 434 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.1155, allocations: 15.44 kB / 434 MB, free: 13.17 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1155, allocations: 0 / 434 MB, free: 13.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1381, allocations: 1.327 MB / 435.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.744, allocations: 22.5 kB / 435.3 MB, free: 11.93 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.18290834594518]