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.002015/0.002015, 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.002053/0.002053, 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.391/1.391, allocations: 230.4 MB / 254 MB, free: 15.02 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.001805/0.001805, allocations: 67.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1039, allocations: 53.37 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00278/0.1067, allocations: 1.507 MB / 427.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.1075, allocations: 474.8 kB / 428.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.1076, allocations: 3.938 kB / 428.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.1076, allocations: 11.92 kB / 428.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.1077, allocations: 11.94 kB / 428.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1079, allocations: 23.91 kB / 428.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.108, allocations: 43.8 kB / 428.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.1081, allocations: 19.92 kB / 428.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1083, allocations: 19.92 kB / 428.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.1083, allocations: 15.92 kB / 428.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1083, allocations: 4 kB / 428.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-05/0.1084, allocations: 4 kB / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.1084, allocations: 11.98 kB / 428.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.1084, allocations: 19.88 kB / 428.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1086, allocations: 47.75 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1086, allocations: 0 / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1086, allocations: 0 / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.1086, allocations: 0 / 428.6 MB, free: 2.379 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.0004699/0.1091, allocations: 351.3 kB / 428.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1091, allocations: 8.031 kB / 428.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.1091, allocations: 38.69 kB / 429 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1093, allocations: 16.92 kB / 429 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1095, allocations: 180.3 kB / 429.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1095, allocations: 4.375 kB / 429.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1095, allocations: 4.375 kB / 429.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.1098, allocations: 115.4 kB / 429.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1098, allocations: 7.938 kB / 429.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1098, allocations: 0 / 429.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1098, allocations: 4 kB / 429.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.1099, allocations: 15.98 kB / 429.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.11, allocations: 165.6 kB / 429.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1102, allocations: 54.55 kB / 429.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.1103, allocations: 28.92 kB / 429.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1103, allocations: 0 / 429.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1103, allocations: 34.5 kB / 429.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1103, allocations: 3.938 kB / 429.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002289/0.1105, allocations: 69.67 kB / 429.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.1106, allocations: 59.41 kB / 429.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.1107, allocations: 109.8 kB / 429.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1107, allocations: 33.7 kB / 429.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.1108, allocations: 88.12 kB / 429.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-06/0.1108, allocations: 0 / 429.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1108, allocations: 17.72 kB / 430 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1109, allocations: 310.8 kB / 430.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.1109, allocations: 8 kB / 430.3 MB, free: 468 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.111, allocations: 39.55 kB / 430.3 MB, free: 416 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.111, allocations: 35.31 kB / 430.3 MB, free: 368 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.111, allocations: 4 kB / 430.3 MB, free: 364 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.268e-05/0.1111, allocations: 61.61 kB / 430.4 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1111, allocations: 8.125 kB / 430.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1111, allocations: 3.984 kB / 430.4 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1111, allocations: 4 kB / 430.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.1112, allocations: 4 kB / 430.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1112, allocations: 0 / 430.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.1112, allocations: 7.938 kB / 430.4 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1112, allocations: 3.984 kB / 430.4 MB, free: 264 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.603e-05/0.1113, allocations: 121.8 kB / 430.5 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1114, allocations: 65.62 kB / 430.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.1115, allocations: 7.906 kB / 430.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1115, allocations: 0 / 430.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1115, allocations: 7.984 kB / 430.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1115, allocations: 0 / 430.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1116, allocations: 157.6 kB / 430.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1116, allocations: 0 / 430.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.1117, allocations: 15.92 kB / 430.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1117, allocations: 0 / 430.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1117, allocations: 0 / 430.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1117, allocations: 0 / 430.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1117, allocations: 8 kB / 430.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.1118, allocations: 93.06 kB / 430.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.1119, allocations: 92.98 kB / 431 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1119, allocations: 0 / 431 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/0.1119, allocations: 4 kB / 431 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-06/0.112, allocations: 0 / 431 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.112, allocations: 0 / 431 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.568e-05/0.112, allocations: 99.58 kB / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.112, allocations: 0 / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001788/0.1122, allocations: 4 kB / 431.1 MB, free: 15.48 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.0004679/0.1127, allocations: 0.6241 MB / 431.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1128, allocations: 27.98 kB / 431.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1128, allocations: 0 / 431.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1128, allocations: 0 / 431.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.113, allocations: 27.89 kB / 431.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.114, allocations: 1.186 MB / 433 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1143, allocations: 0.6846 MB / 433.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.289e-05/0.1143, allocations: 0 / 433.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.1143, allocations: 11.44 kB / 433.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1143, allocations: 0 / 433.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.1359, allocations: 1.337 MB / 435 MB, free: 11.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.667, allocations: 15.98 kB / 435 MB, free: 11.52 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.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_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.303432942018844]