Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001858/0.001858, allocations: 84.61 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.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.002554/0.002554, allocations: 164.9 kB / 23.96 MB, free: 4.16 MB / 14.72 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 1.504/1.504, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.445e-05, allocations: 6.219 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003748/0.003783, allocations: 1.603 MB / 326.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.005055, allocations: 0.5364 MB / 327.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.005155, allocations: 6.062 kB / 327.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.823e-05/0.005213, allocations: 10.03 kB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.005376, allocations: 12.44 kB / 327.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.005779, allocations: 64.17 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.00594, allocations: 53.52 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.006068, allocations: 14.38 kB / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.006272, allocations: 32.66 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.00636, allocations: 13.59 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.006388, allocations: 2.75 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.006456, allocations: 10.08 kB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.006535, allocations: 15.59 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.006579, allocations: 15.42 kB / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.00686, allocations: 61.31 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.006872, allocations: 1.078 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.006875, allocations: 4 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.006894, allocations: 0 / 327.5 MB, free: 14.95 MB / 302.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.0007206/0.007615, allocations: 310.4 kB / 327.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/0.007681, allocations: 9.781 kB / 327.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.007881, allocations: 17.78 kB / 327.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.008213, allocations: 143.5 kB / 328 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.008227, allocations: 5.016 kB / 328 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.008252, allocations: 4.375 kB / 328 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.008656, allocations: 127.2 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.008669, allocations: 3.938 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.008682, allocations: 0 / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.00869, allocations: 0 / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.008786, allocations: 22.05 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.009239, allocations: 217.1 kB / 328.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.009399, allocations: 78.91 kB / 328.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.009476, allocations: 30.41 kB / 328.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.009507, allocations: 1.938 kB / 328.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.009542, allocations: 34.34 kB / 328.5 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.009543, allocations: 0 / 328.5 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003179/0.009861, allocations: 89.56 kB / 328.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.009957, allocations: 114.2 kB / 328.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.01015, allocations: 144.7 kB / 328.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.01017, allocations: 25.7 kB / 328.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.01025, allocations: 93.36 kB / 329 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.01027, allocations: 8.484 kB / 329 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.0103, allocations: 14.03 kB / 329 MB, free: 13.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.0105, allocations: 321.9 kB / 329.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.01054, allocations: 5.438 kB / 329.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.01057, allocations: 11.02 kB / 329.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.01066, allocations: 29.02 kB / 329.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01066, allocations: 1.156 kB / 329.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001352/0.0108, allocations: 54.88 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.01082, allocations: 6.312 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01082, allocations: 0 / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.01084, allocations: 1.406 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.01092, allocations: 4.641 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01092, allocations: 0 / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.01096, allocations: 3.031 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.01096, allocations: 5.5 kB / 329.4 MB, free: 13.17 MB / 302.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 0.0001056/0.01107, allocations: 116.3 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.01117, allocations: 57.25 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.01121, allocations: 9.797 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01121, allocations: 1.375 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.01122, allocations: 1.375 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01122, allocations: 1.344 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.0114, allocations: 121.1 kB / 329.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.0114, allocations: 1.188 kB / 329.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.01147, allocations: 14.59 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01147, allocations: 1.406 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01148, allocations: 2.016 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01149, allocations: 0 / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01149, allocations: 1.312 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.01178, allocations: 187.7 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.01183, allocations: 17.47 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01185, allocations: 2.625 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.01192, allocations: 3.141 kB / 330 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.01196, allocations: 9.734 kB / 330 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.01197, allocations: 2.969 kB / 330 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01208, allocations: 111.5 kB / 330.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01208, allocations: 0 / 330.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.0123, allocations: 9.562 kB / 330.1 MB, free: 12.59 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.0001362/0.01243, allocations: 95.27 kB / 330.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.01259, allocations: 26.47 kB / 330.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01259, allocations: 1.125 kB / 330.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.01263, allocations: 15.41 kB / 330.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.01304, allocations: 30.61 kB / 330.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.01348, allocations: 183.4 kB / 330.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.0136, allocations: 78.8 kB / 330.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.01364, allocations: 6.75 kB / 330.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.0137, allocations: 12.05 kB / 330.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.0137, allocations: 5.188 kB / 330.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Templates: time 0.003998/0.01769, allocations: 0.6148 MB / 331.1 MB, free: 12.13 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.5240146443247795]