Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001692/0.001692, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002115/0.002115, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2478, allocations: 53.37 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003834/0.2516, allocations: 1.691 MB / 432.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006159/0.2522, allocations: 163.4 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2524, allocations: 4 kB / 432.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.926e-05/0.2524, allocations: 7.875 kB / 433 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.2526, allocations: 23.84 kB / 433 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.2529, allocations: 47.83 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.2531, allocations: 55.84 kB / 433.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.2532, allocations: 19.98 kB / 433.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.2532, allocations: 19.88 kB / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.2533, allocations: 19.86 kB / 433.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.2533, allocations: 4 kB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.076e-05/0.2534, allocations: 8 kB / 433.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.2534, allocations: 23.91 kB / 433.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.2535, allocations: 23.8 kB / 433.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2537, allocations: 73.3 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2537, allocations: 0 / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2537, allocations: 0 / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2537, allocations: 4 kB / 433.3 MB, free: 4.484 MB / 334.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.0005277/0.2542, allocations: 317.9 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.2542, allocations: 8.031 kB / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.2543, allocations: 42.73 kB / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.2543, allocations: 12.89 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.2546, allocations: 138.3 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2546, allocations: 4.375 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.2546, allocations: 4.375 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.255, allocations: 166.4 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.255, allocations: 7.938 kB / 434 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.255, allocations: 0 / 434 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2551, allocations: 0 / 434 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2552, allocations: 39.91 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.2556, allocations: 336.9 kB / 434.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.2559, allocations: 111.8 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.256, allocations: 50.69 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.256, allocations: 4 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.256, allocations: 34.56 kB / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.256, allocations: 0 / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003556/0.2564, allocations: 121.5 kB / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.2565, allocations: 110.8 kB / 434.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2566, allocations: 144.6 kB / 434.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2566, allocations: 25.7 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.2567, allocations: 84.14 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.2567, allocations: 15.89 kB / 435 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.2568, allocations: 33.66 kB / 435 MB, free: 2.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.257, allocations: 314.8 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.257, allocations: 15.98 kB / 435.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.2571, allocations: 75.59 kB / 435.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2573, allocations: 95.59 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2573, allocations: 3.984 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.2575, allocations: 105.5 kB / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2575, allocations: 8 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2575, allocations: 0 / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2575, allocations: 4 kB / 435.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.2576, allocations: 19.98 kB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2576, allocations: 3.938 kB / 435.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.2577, allocations: 11.95 kB / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2577, allocations: 11.94 kB / 435.7 MB, free: 1.746 MB / 334.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 0.0001071/0.2578, allocations: 126 kB / 435.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.2579, allocations: 77.78 kB / 435.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.258, allocations: 24.66 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.258, allocations: 0 / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.258, allocations: 4 kB / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.258, allocations: 0 / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.2582, allocations: 148.6 kB / 436.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2582, allocations: 4 kB / 436.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.2583, allocations: 15.98 kB / 436.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2583, allocations: 4 kB / 436.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2583, allocations: 8 kB / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2583, allocations: 400 / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2583, allocations: 4 kB / 436.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.2587, allocations: 312.2 kB / 436.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.2588, allocations: 27.88 kB / 436.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2588, allocations: 4 kB / 436.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2589, allocations: 7.984 kB / 436.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.2589, allocations: 4 kB / 436.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2589, allocations: 0 / 436.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.97e-05/0.259, allocations: 115.5 kB / 436.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.259, allocations: 0 / 436.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.2593, allocations: 12 kB / 436.6 MB, free: 0.7812 MB / 334.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.0007131/0.26, allocations: 0.8421 MB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.2602, allocations: 64.34 kB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2602, allocations: 0 / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.2603, allocations: 12 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.2607, allocations: 46.84 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2625, allocations: 1.588 MB / 439.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.735e-05/0.2626, allocations: 87.27 kB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.16e-05/0.2627, allocations: 4.672 kB / 439.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.2627, allocations: 23.42 kB / 439.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2627, allocations: 0 / 439.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.2913, allocations: 2.415 MB / 441.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.04, allocations: 15.88 kB / 441.7 MB, free: 11.64 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 13.444602782838047]