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.001718/0.001718, allocations: 81.66 kB / 20.68 MB, free: 1.035 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.00192/0.00192, allocations: 154.9 kB / 23.94 MB, free: 4.176 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.491/1.491, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.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 1.804e-06/1.804e-06, allocations: 0.7969 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.207e-05, allocations: 4.812 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002209/0.002231, allocations: 1.571 MB / 320.5 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.002982, allocations: 487.1 kB / 321 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.00306, allocations: 9.875 kB / 321 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.003105, allocations: 5.109 kB / 321 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.003224, allocations: 8.047 kB / 321 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.003474, allocations: 59.67 kB / 321.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003579, allocations: 44.89 kB / 321.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.003672, allocations: 18.14 kB / 321.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-05/0.003754, allocations: 29.42 kB / 321.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.003802, allocations: 13.78 kB / 321.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.003833, allocations: 6.875 kB / 321.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.003845, allocations: 3.062 kB / 321.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.003888, allocations: 17.61 kB / 321.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.003915, allocations: 15.7 kB / 321.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.004043, allocations: 62.72 kB / 321.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004045, allocations: 0 / 321.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004046, allocations: 5.281 kB / 321.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.004057, allocations: 0 / 321.3 MB, free: 2.031 MB / 286.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.0004151/0.004472, allocations: 297.9 kB / 321.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.004506, allocations: 9.094 kB / 321.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.00454, allocations: 10.73 kB / 321.6 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.004726, allocations: 151.8 kB / 321.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-06/0.004733, allocations: 3.281 kB / 321.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.004748, allocations: 1.75 kB / 321.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.005003, allocations: 118.8 kB / 321.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.005013, allocations: 192 / 321.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005022, allocations: 5.281 kB / 321.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005027, allocations: 8.969 kB / 321.9 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.00511, allocations: 25.38 kB / 321.9 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.00533, allocations: 216.5 kB / 322.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.005428, allocations: 72.25 kB / 322.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.005485, allocations: 30.55 kB / 322.2 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.005502, allocations: 1.594 kB / 322.2 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.005516, allocations: 37.81 kB / 322.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005517, allocations: 4 kB / 322.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002609/0.005778, allocations: 85.89 kB / 322.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.00581, allocations: 109.5 kB / 322.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.00591, allocations: 139.1 kB / 322.6 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.005917, allocations: 25.7 kB / 322.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.005947, allocations: 92.19 kB / 322.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.005959, allocations: 5.266 kB / 322.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.005987, allocations: 13.28 kB / 322.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.006024, allocations: 322.1 kB / 323 MB, free: 348 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.006063, allocations: 5.797 kB / 323 MB, free: 348 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.006092, allocations: 6.594 kB / 323 MB, free: 348 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.598e-05/0.006158, allocations: 22.48 kB / 323.1 MB, free: 336 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006159, allocations: 0 / 323.1 MB, free: 336 kB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.99e-05/0.006259, allocations: 59.77 kB / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.006273, allocations: 5.938 kB / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006277, allocations: 5.359 kB / 323.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.00629, allocations: 0 / 323.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.006353, allocations: 4.875 kB / 323.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.006357, allocations: 0 / 323.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.006391, allocations: 2.719 kB / 323.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.006399, allocations: 5.359 kB / 323.1 MB, free: 280 kB / 286.1 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 5.196e-05/0.006451, allocations: 116.4 kB / 323.3 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.006523, allocations: 58.05 kB / 323.3 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.006555, allocations: 8.875 kB / 323.3 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006557, allocations: 9.406 kB / 323.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.006561, allocations: 1.25 kB / 323.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006565, allocations: 1.094 kB / 323.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.006719, allocations: 117.3 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.00672, allocations: 1.312 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.006782, allocations: 10.02 kB / 323.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.006784, allocations: 6.625 kB / 323.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.006795, allocations: 5.156 kB / 323.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.006797, allocations: 0 / 323.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.0068, allocations: 6.516 kB / 323.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.007008, allocations: 178 kB / 323.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.00705, allocations: 18.77 kB / 323.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.007071, allocations: 9.312 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.007143, allocations: 2.906 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.007178, allocations: 5.375 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.007184, allocations: 3.297 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.977e-05/0.007274, allocations: 110.8 kB / 323.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007274, allocations: 0 / 323.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000226/0.0075, allocations: 4.953 kB / 323.8 MB, free: 15.69 MB / 302.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.0001046/0.007605, allocations: 103.1 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.00776, allocations: 26.98 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007762, allocations: 1.219 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.007801, allocations: 6.641 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.00815, allocations: 24.45 kB / 324 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.008519, allocations: 178.5 kB / 324.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.00861, allocations: 82.61 kB / 324.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.008639, allocations: 3.031 kB / 324.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.00867, allocations: 11.39 kB / 324.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.00867, allocations: 0 / 324.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Templates: time 0.003286/0.01196, allocations: 0.6252 MB / 324.9 MB, free: 15.24 MB / 302.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: 4.211948912590742]