Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002727/0.1128, allocations: 1.52 MB / 427.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000805/0.1136, allocations: 474.8 kB / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.1136, allocations: 0 / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.1136, allocations: 3.938 kB / 428.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.1137, allocations: 15.86 kB / 428.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.114, allocations: 35.89 kB / 428.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.1141, allocations: 35.86 kB / 428.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.1142, allocations: 12 kB / 428.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1143, allocations: 23.86 kB / 428.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.1143, allocations: 19.91 kB / 428.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1144, allocations: 4 kB / 428.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.1144, allocations: 4 kB / 428.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.1144, allocations: 8 kB / 428.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.1145, allocations: 19.86 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1146, allocations: 47.75 kB / 428.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1146, allocations: 4 kB / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1146, allocations: 0 / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1146, allocations: 0 / 428.5 MB, free: 2.555 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.0004975/0.1151, allocations: 351.3 kB / 428.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1151, allocations: 12.02 kB / 428.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.1152, allocations: 30.75 kB / 428.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.1153, allocations: 12.92 kB / 428.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1156, allocations: 188.2 kB / 429.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.1156, allocations: 4.375 kB / 429.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1156, allocations: 4.375 kB / 429.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.1159, allocations: 111.4 kB / 429.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1159, allocations: 0 / 429.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1159, allocations: 0 / 429.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1159, allocations: 8 kB / 429.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.898e-05/0.116, allocations: 23.92 kB / 429.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.1162, allocations: 165.6 kB / 429.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1163, allocations: 54.58 kB / 429.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.1164, allocations: 20.89 kB / 429.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1164, allocations: 4 kB / 429.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1165, allocations: 38.48 kB / 429.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1165, allocations: 4 kB / 429.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.1167, allocations: 73.61 kB / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1167, allocations: 55.41 kB / 429.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.1168, allocations: 109.8 kB / 429.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1168, allocations: 29.7 kB / 429.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.1169, allocations: 88.14 kB / 429.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.1169, allocations: 0 / 429.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1169, allocations: 17.7 kB / 429.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1171, allocations: 314.8 kB / 430.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.1171, allocations: 4 kB / 430.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.1171, allocations: 39.42 kB / 430.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.1171, allocations: 35.38 kB / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1171, allocations: 0 / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.055e-05/0.1172, allocations: 73.39 kB / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1173, allocations: 4 kB / 430.4 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1173, allocations: 384 / 430.4 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1173, allocations: 8.125 kB / 430.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.1173, allocations: 4 kB / 430.4 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1173, allocations: 4 kB / 430.4 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.1173, allocations: 7.875 kB / 430.4 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.1173, allocations: 0 / 430.4 MB, free: 444 kB / 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.087e-05/0.1174, allocations: 113.8 kB / 430.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.1176, allocations: 65.55 kB / 430.6 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.1176, allocations: 7.906 kB / 430.6 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1176, allocations: 4 kB / 430.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1176, allocations: 4 kB / 430.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1176, allocations: 0 / 430.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.1177, allocations: 161.6 kB / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1177, allocations: 0 / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.1178, allocations: 15.97 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1178, allocations: 0 / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1178, allocations: 0 / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1178, allocations: 0 / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1178, allocations: 0 / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.118, allocations: 97.08 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.118, allocations: 88.94 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.118, allocations: 7.984 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.1181, allocations: 0 / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-06/0.1181, allocations: 384 / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1181, allocations: 0 / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.803e-05/0.1181, allocations: 91.27 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1181, allocations: 0 / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001857/0.1183, allocations: 8 kB / 431 MB, free: 15.67 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.0004719/0.1188, allocations: 0.6241 MB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.1189, allocations: 27.92 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1189, allocations: 4.25 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1189, allocations: 0 / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1192, allocations: 22.02 kB / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1203, allocations: 1.198 MB / 432.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1206, allocations: 0.6846 MB / 433.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.168e-05/0.1207, allocations: 3.938 kB / 433.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.1207, allocations: 15.44 kB / 433.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1207, allocations: 0 / 433.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.1442, allocations: 1.331 MB / 435 MB, free: 11.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.857, allocations: 3.938 kB / 435 MB, free: 11.71 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.561389982991386]