Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001983/0.001983, allocations: 113 kB / 19.04 MB, free: 3.254 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.002169/0.002169, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.648/1.648, allocations: 225.6 MB / 250.8 MB, free: 13.33 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 59.88 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3471, allocations: 52.12 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003068/0.3502, allocations: 1.607 MB / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.3512, allocations: 0.5064 MB / 423 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.3513, allocations: 7.938 kB / 423 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.264e-05/0.3513, allocations: 3.938 kB / 423 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.3514, allocations: 11.91 kB / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.3518, allocations: 55.77 kB / 423.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.3519, allocations: 39.86 kB / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.352, allocations: 24.16 kB / 423.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.3521, allocations: 27.86 kB / 423.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.3521, allocations: 19.86 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3522, allocations: 4 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.3522, allocations: 4 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.3522, allocations: 11.94 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.3523, allocations: 27.78 kB / 423.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.3524, allocations: 56.97 kB / 423.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3524, allocations: 0 / 423.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.08e-06/0.3524, allocations: 3.984 kB / 423.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3524, allocations: 4 kB / 423.3 MB, free: 12.66 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.0005641/0.353, allocations: 379.1 kB / 423.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.353, allocations: 15.89 kB / 423.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.3531, allocations: 8.891 kB / 423.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.3534, allocations: 204.1 kB / 423.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3534, allocations: 384 / 423.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3534, allocations: 4.375 kB / 423.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.3537, allocations: 122 kB / 424 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3537, allocations: 0 / 424 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3537, allocations: 0 / 424 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3537, allocations: 0 / 424 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.3538, allocations: 31.89 kB / 424 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.3542, allocations: 278.5 kB / 424.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3543, allocations: 71.78 kB / 424.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.3544, allocations: 30.64 kB / 424.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3544, allocations: 0 / 424.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.3545, allocations: 42.48 kB / 424.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3545, allocations: 3.938 kB / 424.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002886/0.3548, allocations: 81.75 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.3548, allocations: 110.8 kB / 424.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.355, allocations: 140.7 kB / 424.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.355, allocations: 29.7 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.3551, allocations: 84.14 kB / 424.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3551, allocations: 11.94 kB / 424.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3551, allocations: 21.84 kB / 424.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3552, allocations: 326.8 kB / 425.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.3553, allocations: 4 kB / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.3553, allocations: 35.42 kB / 425.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3554, allocations: 51.36 kB / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3554, allocations: 0 / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.3556, allocations: 73.56 kB / 425.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3556, allocations: 4 kB / 425.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3556, allocations: 4 kB / 425.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3556, allocations: 8.125 kB / 425.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.3557, allocations: 7.984 kB / 425.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3557, allocations: 7.984 kB / 425.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.3558, allocations: 3.938 kB / 425.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3558, allocations: 7.938 kB / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.791e-05/0.3559, allocations: 121.7 kB / 425.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.3559, allocations: 53.64 kB / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.356, allocations: 15.86 kB / 425.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.356, allocations: 4.062 kB / 425.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.356, allocations: 0 / 425.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.356, allocations: 3.938 kB / 425.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.3562, allocations: 173.6 kB / 425.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3562, allocations: 0 / 425.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.3563, allocations: 11.98 kB / 425.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3563, allocations: 0 / 425.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3563, allocations: 4 kB / 425.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3563, allocations: 0 / 425.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3563, allocations: 0 / 425.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.3565, allocations: 185.1 kB / 426 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.3566, allocations: 97.05 kB / 426.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3566, allocations: 3.938 kB / 426.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.3566, allocations: 7.938 kB / 426.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3567, allocations: 3.984 kB / 426.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3567, allocations: 4 kB / 426.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.969e-05/0.3568, allocations: 107.3 kB / 426.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3568, allocations: 0 / 426.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.357, allocations: 4 kB / 426.2 MB, free: 9.309 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 (4): * Single equations (assignments): 4 * 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.0001267/0.3571, allocations: 107.2 kB / 426.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.3573, allocations: 27.92 kB / 426.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3573, allocations: 256 / 426.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.3573, allocations: 15.98 kB / 426.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.3577, allocations: 26.89 kB / 426.4 MB, free: 9.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.3581, allocations: 184.5 kB / 426.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3584, allocations: 0.7003 MB / 427.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.3585, allocations: 8.125 kB / 427.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.3585, allocations: 11.44 kB / 427.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3585, allocations: 0 / 427.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of Templates: time 0.003275/0.3618, allocations: 0.5957 MB / 427.9 MB, free: 7.578 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 5.109869045205414]