Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008402/0.0008402, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8777/0.8777, allocations: 173.4 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.195e-05, allocations: 10.22 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002085/0.002107, allocations: 1.558 MB / 320 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.002793, allocations: 454.8 kB / 320.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.002881, allocations: 3.938 kB / 320.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.469e-05/0.002925, allocations: 7.922 kB / 320.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.003063, allocations: 15.81 kB / 320.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.003321, allocations: 39.83 kB / 320.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.709e-05/0.003419, allocations: 43.84 kB / 320.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003519, allocations: 15.97 kB / 320.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.96e-05/0.003619, allocations: 27.92 kB / 320.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.003681, allocations: 19.91 kB / 320.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.003708, allocations: 4 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.00372, allocations: 4 kB / 320.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.003772, allocations: 15.92 kB / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.003802, allocations: 8 kB / 320.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.003931, allocations: 59.73 kB / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003933, allocations: 0 / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.003934, allocations: 0 / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003938, allocations: 0 / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003921/0.00433, allocations: 305.2 kB / 321 MB, free: 3.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.004368, allocations: 12.92 kB / 321 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.004398, allocations: 42.75 kB / 321.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.004422, allocations: 8.891 kB / 321.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.004597, allocations: 133.7 kB / 321.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.004606, allocations: 4.375 kB / 321.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.004615, allocations: 8.312 kB / 321.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.004841, allocations: 117.6 kB / 321.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.004847, allocations: 4.188 kB / 321.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.004855, allocations: 4.125 kB / 321.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.00486, allocations: 0 / 321.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.004906, allocations: 19.98 kB / 321.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.005174, allocations: 232.8 kB / 321.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.005318, allocations: 61.2 kB / 321.6 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.00536, allocations: 29.7 kB / 321.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.005379, allocations: 7.938 kB / 321.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.005398, allocations: 34.56 kB / 321.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005399, allocations: 0 / 321.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001788/0.005577, allocations: 81.55 kB / 321.8 MB, free: 2.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.005624, allocations: 85.11 kB / 321.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.005709, allocations: 136.8 kB / 322 MB, free: 2.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.005718, allocations: 25.7 kB / 322 MB, free: 2.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.005762, allocations: 104 kB / 322.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.005774, allocations: 0 / 322.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.005799, allocations: 9.719 kB / 322.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.005877, allocations: 323 kB / 322.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.0059, allocations: 7.984 kB / 322.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.005915, allocations: 4 kB / 322.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.005966, allocations: 20.84 kB / 322.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005968, allocations: 3.938 kB / 322.5 MB, free: 2.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.617e-05/0.006034, allocations: 57.52 kB / 322.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.006047, allocations: 4 kB / 322.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006052, allocations: 4.094 kB / 322.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.006064, allocations: 0 / 322.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.006108, allocations: 7.984 kB / 322.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.006113, allocations: 0 / 322.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.006132, allocations: 4 kB / 322.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.006139, allocations: 4 kB / 322.6 MB, free: 2.004 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.042e-05/0.006199, allocations: 113.8 kB / 322.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.006244, allocations: 53.53 kB / 322.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.006275, allocations: 16.33 kB / 322.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006277, allocations: 0 / 322.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.006281, allocations: 4 kB / 322.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.006284, allocations: 0 / 322.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.006394, allocations: 140.7 kB / 322.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006396, allocations: 240 / 322.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.006428, allocations: 11.98 kB / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.00643, allocations: 0 / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.006436, allocations: 0 / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.00644, allocations: 8 kB / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.006442, allocations: 3.984 kB / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.00655, allocations: 172.2 kB / 323.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.006579, allocations: 19.94 kB / 323.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.00659, allocations: 4 kB / 323.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.006622, allocations: 0 / 323.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.006647, allocations: 3.984 kB / 323.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.00665, allocations: 4 kB / 323.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.0067, allocations: 107.2 kB / 323.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0067, allocations: 0 / 323.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.006843, allocations: 8 kB / 323.2 MB, free: 1.262 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000294/0.007137, allocations: 0.7015 MB / 323.9 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.318e-05/0.00723, allocations: 27.92 kB / 324 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.007232, allocations: 0 / 324 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.00725, allocations: 4 kB / 324 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.007521, allocations: 30.3 kB / 324 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008371/0.008358, allocations: 1.29 MB / 325.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.008422, allocations: 79.33 kB / 325.4 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.008452, allocations: 0 / 325.4 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.008495, allocations: 16.5 kB / 325.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of SimCode: time 4.3e-07/0.008496, allocations: 0 / 325.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.02439, allocations: 2.205 MB / 327.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.692, allocations: 0 / 327.6 MB, free: 12.9 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 8.353822603821754]