Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 53.4 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003474/0.3664, allocations: 1.581 MB / 432.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3675, allocations: 0.522 MB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.3676, allocations: 7.938 kB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.782e-05/0.3677, allocations: 7.875 kB / 433.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3678, allocations: 7.922 kB / 433.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.3682, allocations: 67.77 kB / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.3683, allocations: 43.91 kB / 433.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3684, allocations: 12.17 kB / 433.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3685, allocations: 27.86 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.3686, allocations: 23.8 kB / 433.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3686, allocations: 4 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.3687, allocations: 8 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.3687, allocations: 19.91 kB / 433.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.3687, allocations: 15.88 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3689, allocations: 65.36 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3689, allocations: 4 kB / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3689, allocations: 0 / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3689, allocations: 4 kB / 433.5 MB, free: 4.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005338/0.3694, allocations: 309.8 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3695, allocations: 15.98 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.3695, allocations: 30.75 kB / 433.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.3697, allocations: 16.88 kB / 433.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.3701, allocations: 141.1 kB / 434 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3701, allocations: 12.36 kB / 434.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3701, allocations: 4.375 kB / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.3704, allocations: 105 kB / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3704, allocations: 0 / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3704, allocations: 0 / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3704, allocations: 4 kB / 434.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.561e-05/0.3705, allocations: 19.92 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.3709, allocations: 236.8 kB / 434.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.371, allocations: 45.14 kB / 434.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.371, allocations: 21.77 kB / 434.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.371, allocations: 0 / 434.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3711, allocations: 30.56 kB / 434.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 4.198e-06/0.3711, allocations: 7.984 kB / 434.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002653/0.3713, allocations: 69.56 kB / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.3714, allocations: 81.36 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3716, allocations: 137.8 kB / 434.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3716, allocations: 25.7 kB / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.3716, allocations: 96.12 kB / 434.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.3717, allocations: 3.953 kB / 434.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.3717, allocations: 13.72 kB / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.3719, allocations: 322.8 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.3719, allocations: 11.94 kB / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.372, allocations: 17.7 kB / 435.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.3721, allocations: 37.7 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3721, allocations: 0 / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001208/0.3722, allocations: 57.58 kB / 435.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3722, allocations: 8 kB / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3722, allocations: 0 / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3722, allocations: 3.938 kB / 435.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.3723, allocations: 4 kB / 435.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3723, allocations: 8.047 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.3723, allocations: 4 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3723, allocations: 0 / 435.4 MB, free: 1.949 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 0.0001064/0.3725, allocations: 117.8 kB / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.3725, allocations: 49.58 kB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.3726, allocations: 11.77 kB / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3726, allocations: 0 / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3726, allocations: 0 / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3726, allocations: 0 / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.3728, allocations: 148.7 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3728, allocations: 4.031 kB / 435.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.3729, allocations: 4 kB / 435.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3729, allocations: 4 kB / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3729, allocations: 0 / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3729, allocations: 0 / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3729, allocations: 0 / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3731, allocations: 168.2 kB / 435.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.3732, allocations: 11.94 kB / 435.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3732, allocations: 8 kB / 435.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.3733, allocations: 4.031 kB / 435.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.3733, allocations: 4 kB / 435.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3733, allocations: 0 / 435.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.325e-05/0.3734, allocations: 110 kB / 436 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3734, allocations: 0 / 436 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.3736, allocations: 8 kB / 436 MB, free: 1.234 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.0005603/0.3742, allocations: 0.6859 MB / 436.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.3743, allocations: 31.95 kB / 436.8 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3743, allocations: 0 / 436.8 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.3743, allocations: 7.984 kB / 436.8 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3747, allocations: 15.97 kB / 436.8 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.3763, allocations: 1.332 MB / 438.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.3764, allocations: 79.27 kB / 438.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.904e-05/0.3764, allocations: 0 / 438.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.3765, allocations: 19.42 kB / 438.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3765, allocations: 0 / 438.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.4105, allocations: 2.113 MB / 440.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.14, allocations: 2.812 kB / 440.3 MB, free: 12.92 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.555551166180521]