Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001432/0.001432, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001691/0.001691, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.466/1.466, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 47.92 kB / 370.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2827, allocations: 52.18 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003463/0.2861, allocations: 1.717 MB / 424.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004606/0.2866, allocations: 163.5 kB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.2867, allocations: 4 kB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/0.2867, allocations: 7.875 kB / 424.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.2869, allocations: 23.8 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.2871, allocations: 43.83 kB / 424.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2873, allocations: 51.91 kB / 424.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2874, allocations: 27.92 kB / 424.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.2874, allocations: 19.88 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.2875, allocations: 35.77 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2875, allocations: 4 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.2876, allocations: 8 kB / 424.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.2876, allocations: 11.94 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.2876, allocations: 35.73 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2878, allocations: 72.08 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2878, allocations: 4 kB / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2878, allocations: 0 / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2878, allocations: 0 / 424.8 MB, free: 12.37 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.0005183/0.2883, allocations: 313.9 kB / 425.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2884, allocations: 12.02 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.2884, allocations: 34.75 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.2885, allocations: 16.84 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.2887, allocations: 146.3 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2887, allocations: 12.31 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.2887, allocations: 4.375 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.2891, allocations: 166.3 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2891, allocations: 3.938 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.2891, allocations: 0 / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2891, allocations: 4 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2892, allocations: 35.97 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.2897, allocations: 340.9 kB / 425.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.2899, allocations: 111.8 kB / 426 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.29, allocations: 54.67 kB / 426.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.2901, allocations: 8 kB / 426.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2901, allocations: 34.5 kB / 426.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.2901, allocations: 0 / 426.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003586/0.2905, allocations: 121.5 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.2905, allocations: 111 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2907, allocations: 138.1 kB / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2907, allocations: 25.7 kB / 426.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.2907, allocations: 100 kB / 426.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.2908, allocations: 11.89 kB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.2908, allocations: 21.72 kB / 426.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.291, allocations: 322.8 kB / 427 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/0.291, allocations: 19.98 kB / 427 MB, free: 10 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2911, allocations: 71.66 kB / 427 MB, free: 9.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2913, allocations: 95.59 kB / 427.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2913, allocations: 0 / 427.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.2915, allocations: 105.4 kB / 427.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2915, allocations: 15.92 kB / 427.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2915, allocations: 0 / 427.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.2915, allocations: 4 kB / 427.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.2916, allocations: 19.94 kB / 427.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2916, allocations: 7.984 kB / 427.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.2917, allocations: 8 kB / 427.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2917, allocations: 4.281 kB / 427.3 MB, free: 9.613 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.000102/0.2918, allocations: 129.7 kB / 427.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2919, allocations: 73.59 kB / 427.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.292, allocations: 20.7 kB / 427.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.292, allocations: 4 kB / 427.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.292, allocations: 0 / 427.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.292, allocations: 0 / 427.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2922, allocations: 160.6 kB / 427.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2922, allocations: 0 / 427.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.2923, allocations: 19.98 kB / 427.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2923, allocations: 4 kB / 427.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2923, allocations: 0 / 427.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2923, allocations: 8 kB / 427.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2923, allocations: 3.938 kB / 427.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.2927, allocations: 308.3 kB / 428 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.2928, allocations: 23.88 kB / 428 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.2928, allocations: 7.984 kB / 428 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.2929, allocations: 4 kB / 428 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.2929, allocations: 0 / 428 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.2929, allocations: 4 kB / 428.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.411e-05/0.293, allocations: 114 kB / 428.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.293, allocations: 288 / 428.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.2933, allocations: 19.95 kB / 428.2 MB, free: 8.645 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.0007339/0.294, allocations: 0.8497 MB / 429 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.2942, allocations: 55.91 kB / 429.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2942, allocations: 0 / 429.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.2943, allocations: 11.94 kB / 429.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.2948, allocations: 51.02 kB / 429.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.2968, allocations: 1.59 MB / 430.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.2973, allocations: 0.7002 MB / 431.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.2974, allocations: 4.672 kB / 431.4 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.2974, allocations: 27.42 kB / 431.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2974, allocations: 0 / 431.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.328, allocations: 2.022 MB / 433.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.9, allocations: 4.812 kB / 433.5 MB, free: 3.273 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.355607242090628]