Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001309/0.001309, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001446/0.001446, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2649, allocations: 53.35 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002841/0.2678, allocations: 1.577 MB / 432.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.2687, allocations: 0.4986 MB / 433.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.2688, allocations: 3.938 kB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.2688, allocations: 3.938 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.2689, allocations: 15.91 kB / 433.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.2692, allocations: 51.83 kB / 433.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.991e-05/0.2693, allocations: 39.86 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.2694, allocations: 11.98 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2695, allocations: 31.91 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.2696, allocations: 15.88 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2696, allocations: 0 / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.921e-05/0.2696, allocations: 11.98 kB / 433.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.2697, allocations: 11.94 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.2697, allocations: 19.86 kB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2698, allocations: 57.38 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2699, allocations: 4 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2699, allocations: 0 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2699, allocations: 0 / 433.4 MB, free: 4.273 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004439/0.2703, allocations: 294 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2703, allocations: 12.03 kB / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.2704, allocations: 30.75 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.2705, allocations: 16.88 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2708, allocations: 144.9 kB / 433.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.2708, allocations: 12.38 kB / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.2708, allocations: 384 / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.271, allocations: 97.17 kB / 434 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.271, allocations: 0 / 434 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.271, allocations: 0 / 434 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.271, allocations: 0 / 434 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.2711, allocations: 23.92 kB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.2714, allocations: 232.8 kB / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.2715, allocations: 53.12 kB / 434.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.2715, allocations: 17.78 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2716, allocations: 0 / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2716, allocations: 34.56 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2716, allocations: 0 / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002287/0.2718, allocations: 65.56 kB / 434.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.2719, allocations: 85.11 kB / 434.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.272, allocations: 138.4 kB / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.272, allocations: 29.7 kB / 434.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.2721, allocations: 88.14 kB / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.2721, allocations: 0 / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.2721, allocations: 29.59 kB / 434.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2722, allocations: 314.8 kB / 435.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.2723, allocations: 7.984 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.2723, allocations: 25.66 kB / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.2724, allocations: 33.77 kB / 435.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2724, allocations: 0 / 435.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000118/0.2725, allocations: 53.62 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2725, allocations: 4 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.2725, allocations: 7.938 kB / 435.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2726, allocations: 3.984 kB / 435.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.2726, allocations: 4 kB / 435.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.2726, allocations: 0 / 435.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.2727, allocations: 4 kB / 435.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.2727, allocations: 4.062 kB / 435.3 MB, free: 2.207 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.428e-05/0.2728, allocations: 121.8 kB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.2728, allocations: 41.59 kB / 435.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.2728, allocations: 19.75 kB / 435.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2728, allocations: 0 / 435.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2729, allocations: 0 / 435.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2729, allocations: 0 / 435.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.273, allocations: 140.6 kB / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.273, allocations: 0 / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.2731, allocations: 12.02 kB / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.2731, allocations: 0 / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2731, allocations: 0 / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2731, allocations: 8 kB / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2731, allocations: 0 / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.2733, allocations: 160.3 kB / 435.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.2733, allocations: 19.88 kB / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2733, allocations: 0 / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.2734, allocations: 7.984 kB / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.2734, allocations: 0 / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.2734, allocations: 8.031 kB / 435.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.2735, allocations: 106 kB / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2735, allocations: 0 / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.2737, allocations: 7.984 kB / 435.9 MB, free: 1.492 MB / 334.1 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 (2): * Single equations (assignments): 2 * 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.0004341/0.2741, allocations: 0.6859 MB / 436.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.2743, allocations: 27.91 kB / 436.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2743, allocations: 4.156 kB / 436.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.2743, allocations: 8 kB / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2746, allocations: 19.95 kB / 436.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2759, allocations: 1.319 MB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.251e-05/0.276, allocations: 75.5 kB / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.73e-05/0.276, allocations: 4 kB / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.276, allocations: 19.42 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.276, allocations: 0 / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.3051, allocations: 2.037 MB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.81, allocations: 13.95 kB / 440.1 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.144291625998449]