Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001311/0.001311, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001349/0.001349, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.383/1.383, allocations: 230.4 MB / 254 MB, free: 15.03 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.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002886/0.002886, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.107, allocations: 53.38 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002995/0.11, allocations: 1.702 MB / 428.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004118/0.1104, allocations: 159.5 kB / 428.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.1105, allocations: 7.938 kB / 428.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.1105, allocations: 7.922 kB / 428.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.1107, allocations: 15.88 kB / 428.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1109, allocations: 43.89 kB / 428.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.111, allocations: 51.84 kB / 428.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1111, allocations: 23.97 kB / 428.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.1112, allocations: 31.8 kB / 428.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.1112, allocations: 19.86 kB / 428.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1112, allocations: 8 kB / 428.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.1112, allocations: 4 kB / 428.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.1113, allocations: 23.92 kB / 428.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.1113, allocations: 35.73 kB / 428.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1115, allocations: 67.66 kB / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1115, allocations: 0 / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1115, allocations: 0 / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1115, allocations: 0 / 428.6 MB, free: 2.418 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005289/0.112, allocations: 395 kB / 428.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1121, allocations: 8.031 kB / 429 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.1121, allocations: 42.73 kB / 429 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.1121, allocations: 12.89 kB / 429 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1124, allocations: 200.1 kB / 429.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1124, allocations: 8.359 kB / 429.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1124, allocations: 4.375 kB / 429.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.1127, allocations: 167.7 kB / 429.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1127, allocations: 3.938 kB / 429.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1128, allocations: 8 kB / 429.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1128, allocations: 4 kB / 429.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1129, allocations: 31.97 kB / 429.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1133, allocations: 373.8 kB / 429.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1135, allocations: 103.9 kB / 429.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1136, allocations: 66.8 kB / 430 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1136, allocations: 3.938 kB / 430 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1137, allocations: 34.56 kB / 430 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1137, allocations: 0 / 430 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003222/0.114, allocations: 117.5 kB / 430.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.1141, allocations: 115.1 kB / 430.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1142, allocations: 139.6 kB / 430.4 MB, free: 368 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1142, allocations: 25.7 kB / 430.4 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.1143, allocations: 100.1 kB / 430.5 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.1143, allocations: 3.953 kB / 430.5 MB, free: 228 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.1143, allocations: 37.59 kB / 430.5 MB, free: 184 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1145, allocations: 314.8 kB / 430.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.1145, allocations: 19.98 kB / 430.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.1146, allocations: 71.72 kB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1147, allocations: 87.59 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.1147, allocations: 4 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.1149, allocations: 105.5 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1149, allocations: 8 kB / 431.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.115, allocations: 320 / 431.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.115, allocations: 4 kB / 431.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.115, allocations: 23.92 kB / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.115, allocations: 4.281 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.1151, allocations: 15.95 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1151, allocations: 7.984 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.976e-05/0.1152, allocations: 129.7 kB / 431.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.1153, allocations: 77.62 kB / 431.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.1154, allocations: 16.7 kB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1154, allocations: 0 / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1154, allocations: 4 kB / 431.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.1154, allocations: 0 / 431.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.1156, allocations: 185.5 kB / 431.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1156, allocations: 8 kB / 431.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.1157, allocations: 15.98 kB / 431.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1157, allocations: 4 kB / 431.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1157, allocations: 0 / 431.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1157, allocations: 3.938 kB / 431.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1157, allocations: 4 kB / 431.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.1161, allocations: 316.3 kB / 431.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.1161, allocations: 96.98 kB / 432 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1161, allocations: 8.281 kB / 432 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.1162, allocations: 0 / 432 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.1163, allocations: 7.984 kB / 432 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1163, allocations: 11.88 kB / 432 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.1163, allocations: 109.8 kB / 432.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1163, allocations: 0 / 432.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1166, allocations: 12 kB / 432.2 MB, free: 14.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0006118/0.1172, allocations: 0.8382 MB / 433 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1174, allocations: 63.91 kB / 433.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1174, allocations: 0 / 433.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.1174, allocations: 12.56 kB / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1179, allocations: 47.98 kB / 433.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.1194, allocations: 1.588 MB / 434.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1197, allocations: 0.7002 MB / 435.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.1197, allocations: 4.656 kB / 435.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.1198, allocations: 19.44 kB / 435.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1198, allocations: 4 kB / 435.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.1429, allocations: 1.877 MB / 437.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.611, allocations: 3.984 kB / 437.3 MB, free: 9.098 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable sample2.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample2.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.213626516982913]