Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001761/0.001761, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002094/0.002094, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 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.525/1.525, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.763e-05, allocations: 6.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.005572/0.005609, allocations: 1.873 MB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003942/0.009551, allocations: 1.23 MB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.009737, allocations: 7.938 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.01018, allocations: 67.61 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006397/0.01082, allocations: 143.3 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.01188, allocations: 235.1 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.0123, allocations: 183.5 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.01245, allocations: 17.8 kB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.01273, allocations: 107.7 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.01294, allocations: 63.86 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.01298, allocations: 15.94 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.01325, allocations: 67.88 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01338, allocations: 59.83 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.01351, allocations: 47.78 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.01411, allocations: 235.2 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01412, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01412, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01412, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001149/0.01527, allocations: 482.4 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.01533, allocations: 19.97 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.01546, allocations: 24.8 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.01611, allocations: 244.7 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.01613, allocations: 4.375 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.01617, allocations: 12.31 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.01671, allocations: 180.6 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.01672, allocations: 192 / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.01674, allocations: 8.312 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01675, allocations: 3.938 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.01697, allocations: 47.91 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/0.01775, allocations: 310.2 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.01817, allocations: 111.9 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.01832, allocations: 50.55 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.01836, allocations: 3.938 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.01862, allocations: 83.31 kB / 278.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.01862, allocations: 0 / 278.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006733/0.0193, allocations: 165.4 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.01944, allocations: 132.5 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.02007, allocations: 337.9 kB / 278.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.02011, allocations: 25.7 kB / 278.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.02028, allocations: 140.1 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.02031, allocations: 11.91 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.0204, allocations: 25.7 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.02064, allocations: 330.8 kB / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.02076, allocations: 23.98 kB / 279.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.02098, allocations: 119.1 kB / 279.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.02121, allocations: 61.64 kB / 279.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02121, allocations: 0 / 279.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003753/0.02159, allocations: 113.5 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.02161, allocations: 4 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.02163, allocations: 4 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.02164, allocations: 0 / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.0218, allocations: 16.23 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.02181, allocations: 4 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.02192, allocations: 12 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.02193, allocations: 4 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0002299/0.02216, allocations: 153.8 kB / 279.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.02232, allocations: 69.44 kB / 279.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.02275, allocations: 123.4 kB / 279.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.02276, allocations: 7.938 kB / 279.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.02277, allocations: 0 / 279.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.02277, allocations: 0 / 279.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.02309, allocations: 189.2 kB / 280.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.02309, allocations: 4 kB / 280.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.0232, allocations: 15.92 kB / 280.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.02321, allocations: 7.938 kB / 280.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.02323, allocations: 0 / 280.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02323, allocations: 0 / 280.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.02323, allocations: 4 kB / 280.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.0237, allocations: 174.5 kB / 280.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.02384, allocations: 47.7 kB / 280.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.02389, allocations: 4 kB / 280.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.02399, allocations: 8 kB / 280.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.02406, allocations: 7.984 kB / 280.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.02409, allocations: 8 kB / 280.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004432/0.02453, allocations: 249.2 kB / 280.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02453, allocations: 0 / 280.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004529/0.02499, allocations: 28 kB / 280.7 MB, free: 8.961 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002793/0.02778, allocations: 451.6 kB / 281.1 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.02812, allocations: 67.91 kB / 281.2 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.02813, allocations: 0 / 281.2 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.02827, allocations: 35.91 kB / 281.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.02893, allocations: 67.92 kB / 281.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.02996, allocations: 397.7 kB / 281.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.03019, allocations: 132.2 kB / 281.8 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.03031, allocations: 25.47 kB / 281.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.0304, allocations: 24.5 kB / 281.8 MB, free: 7.875 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0304, allocations: 0 / 281.8 MB, free: 7.875 MB / 266.7 MB Notification: Performance of Templates: time 0.01091/0.04131, allocations: 2.963 MB / 284.8 MB, free: 4.949 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.444160581915639]