Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.0008587/0.0008587, allocations: 79.7 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.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.0009685/0.0009685, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8646/0.8646, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.279e-05, allocations: 6.219 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001731/0.001744, allocations: 1.563 MB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006442/0.002388, allocations: 0.5452 MB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.002458, allocations: 4 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.002494, allocations: 3.938 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.002615, allocations: 11.91 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.00288, allocations: 71.62 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.002968, allocations: 47.8 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.276e-05/0.003051, allocations: 24.09 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.003156, allocations: 23.98 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.003198, allocations: 19.91 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.003212, allocations: 4 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.084e-05/0.003243, allocations: 4 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.003282, allocations: 15.92 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.0033, allocations: 15.94 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003414, allocations: 59.78 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003416, allocations: 0 / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003417, allocations: 0 / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.00342, allocations: 0 / 327 MB, free: 13.52 MB / 298.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.0003338/0.003754, allocations: 316.8 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.003787, allocations: 8.031 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.003814, allocations: 38.75 kB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.0039, allocations: 16.88 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.004056, allocations: 141.5 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.004065, allocations: 4.375 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.004073, allocations: 384 / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.004257, allocations: 113.6 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.004264, allocations: 4.172 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.004272, allocations: 3.938 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.004276, allocations: 0 / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.004316, allocations: 19.92 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.004527, allocations: 224.9 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.004576, allocations: 49.09 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.004603, allocations: 21.77 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.004617, allocations: 4 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.004632, allocations: 30.56 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/0.004635, allocations: 3.984 kB / 327.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.004781, allocations: 73.56 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.004819, allocations: 77.11 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.004899, allocations: 149.5 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.004907, allocations: 25.95 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.004939, allocations: 88.14 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.004953, allocations: 15.94 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.004975, allocations: 9.719 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.005042, allocations: 318.8 kB / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.005061, allocations: 8 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.005075, allocations: 11.92 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.005108, allocations: 16.86 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005109, allocations: 0 / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.417e-05/0.005164, allocations: 61.62 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.005173, allocations: 4 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005177, allocations: 0 / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.005187, allocations: 0 / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.005227, allocations: 4 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.005231, allocations: 0 / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.005247, allocations: 7.984 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.005251, allocations: 0 / 328.8 MB, free: 11.46 MB / 298.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 4.978e-05/0.005301, allocations: 117.8 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.005332, allocations: 49.62 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.005351, allocations: 15.69 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005352, allocations: 4 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.005356, allocations: 0 / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.005357, allocations: 0 / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.581e-05/0.005453, allocations: 140.7 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.005456, allocations: 4 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.005474, allocations: 7.984 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.005475, allocations: 0 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.00548, allocations: 0 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005482, allocations: 8.031 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005483, allocations: 0 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.017e-05/0.005573, allocations: 164.2 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.005596, allocations: 11.95 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.005606, allocations: 3.984 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.005638, allocations: 4 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.005657, allocations: 0 / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.005659, allocations: 0 / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.46e-05/0.005704, allocations: 118.2 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005704, allocations: 4.031 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.005839, allocations: 8 kB / 329.4 MB, free: 10.74 MB / 298.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.0002108/0.00605, allocations: 0.6897 MB / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.006121, allocations: 19.98 kB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006122, allocations: 3.938 kB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/0.006139, allocations: 8 kB / 330.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.006355, allocations: 20.17 kB / 330.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.00706, allocations: 1.294 MB / 331.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.653e-05/0.007107, allocations: 75.08 kB / 331.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.795e-05/0.007125, allocations: 4 kB / 331.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.007158, allocations: 20.62 kB / 331.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007158, allocations: 0 / 331.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.02061, allocations: 2.24 MB / 333.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/6.651, allocations: 6.219 kB / 333.8 MB, free: 6.352 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.234220571815968]