Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.0007503/0.0007503, allocations: 76.08 kB / 20.67 MB, free: 3.891 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.0007764/0.0007764, allocations: 157.4 kB / 23.93 MB, free: 0.6289 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.9176/0.9176, allocations: 173.4 MB / 200.4 MB, free: 9.41 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.726e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002223/0.002241, allocations: 1.543 MB / 320 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009273/0.003168, allocations: 478.6 kB / 320.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.003315, allocations: 4 kB / 320.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.679e-05/0.003382, allocations: 7.938 kB / 320.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.003584, allocations: 7.875 kB / 320.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.003897, allocations: 63.67 kB / 320.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.004016, allocations: 43.8 kB / 320.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.004142, allocations: 15.97 kB / 320.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.004217, allocations: 23.97 kB / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.004271, allocations: 15.92 kB / 320.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.004297, allocations: 4 kB / 320.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.004309, allocations: 4 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.004359, allocations: 15.92 kB / 320.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.004384, allocations: 19.92 kB / 320.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.004519, allocations: 55.73 kB / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004521, allocations: 0 / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004522, allocations: 0 / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.004526, allocations: 0 / 320.7 MB, free: 4.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00037/0.004896, allocations: 297.3 kB / 321 MB, free: 3.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.004939, allocations: 8.922 kB / 321 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.004973, allocations: 42.73 kB / 321 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.004999, allocations: 8.891 kB / 321.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.005495, allocations: 137.6 kB / 321.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.005504, allocations: 4.375 kB / 321.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.005514, allocations: 4.375 kB / 321.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.005821, allocations: 113.5 kB / 321.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.005832, allocations: 8.062 kB / 321.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.005843, allocations: 4.125 kB / 321.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005849, allocations: 0 / 321.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.005899, allocations: 23.98 kB / 321.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.006191, allocations: 220.9 kB / 321.6 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.905e-05/0.00626, allocations: 53.14 kB / 321.6 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.006292, allocations: 17.72 kB / 321.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.006315, allocations: 4 kB / 321.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.006347, allocations: 38.55 kB / 321.7 MB, free: 2.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.006347, allocations: 0 / 321.7 MB, free: 2.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001955/0.006543, allocations: 69.8 kB / 321.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.006593, allocations: 85.03 kB / 321.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.006686, allocations: 134.2 kB / 322 MB, free: 2.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.006696, allocations: 25.7 kB / 322 MB, free: 2.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.006741, allocations: 92.14 kB / 322.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.006755, allocations: 0 / 322.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.006786, allocations: 21.66 kB / 322.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.006886, allocations: 314.8 kB / 322.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.006916, allocations: 4 kB / 322.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.00694, allocations: 11.98 kB / 322.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.007001, allocations: 24.94 kB / 322.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.007003, allocations: 3.938 kB / 322.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.649e-05/0.00708, allocations: 45.62 kB / 322.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.007097, allocations: 11.94 kB / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.007104, allocations: 0 / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.007118, allocations: 0 / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.007179, allocations: 7.984 kB / 322.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.007184, allocations: 0 / 322.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.0072, allocations: 4.031 kB / 322.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.007208, allocations: 0 / 322.5 MB, free: 2.016 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 7.351e-05/0.007282, allocations: 113.8 kB / 322.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.007321, allocations: 49.58 kB / 322.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.007347, allocations: 7.812 kB / 322.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.007349, allocations: 0 / 322.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.007353, allocations: 0 / 322.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.007358, allocations: 4 kB / 322.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.007468, allocations: 148.6 kB / 322.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.007471, allocations: 7.969 kB / 322.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.007493, allocations: 8 kB / 322.8 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007495, allocations: 4 kB / 322.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.007501, allocations: 0 / 322.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007502, allocations: 3.938 kB / 322.8 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.007504, allocations: 3.984 kB / 322.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.135e-05/0.007596, allocations: 152.4 kB / 323 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.007625, allocations: 19.88 kB / 323 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.007638, allocations: 4 kB / 323 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.00767, allocations: 4.031 kB / 323 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.007698, allocations: 4 kB / 323 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.007701, allocations: 0 / 323 MB, free: 1.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.725e-05/0.007748, allocations: 109.8 kB / 323.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007748, allocations: 0 / 323.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.007893, allocations: 4 kB / 323.1 MB, free: 1.305 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 (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.0002534/0.008147, allocations: 0.6936 MB / 323.8 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.555e-05/0.008242, allocations: 24.02 kB / 323.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.008244, allocations: 0 / 323.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.008266, allocations: 15.92 kB / 323.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.008512, allocations: 12.03 kB / 323.9 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.009372, allocations: 1.286 MB / 325.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.009428, allocations: 79.47 kB / 325.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.756e-05/0.009456, allocations: 7.984 kB / 325.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.0095, allocations: 12.5 kB / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.009501, allocations: 0 / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.02416, allocations: 2.219 MB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/6.866, allocations: 3.984 kB / 327.5 MB, free: 12.95 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.558580086566508]