Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001382/0.001383, allocations: 116.9 kB / 18.41 MB, free: 4.652 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.001386/0.001386, allocations: 186.9 kB / 21.34 MB, free: 1.723 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.54/1.54, allocations: 222.9 MB / 247 MB, free: 4.211 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 51.92 kB / 358.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1054, allocations: 49.43 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00351/0.109, allocations: 1.872 MB / 410 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1111, allocations: 1.153 MB / 411.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.1113, allocations: 3.938 kB / 411.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.1117, allocations: 63.67 kB / 411.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.1121, allocations: 91.64 kB / 411.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.113, allocations: 266.7 kB / 411.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1133, allocations: 175.5 kB / 411.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1134, allocations: 29.55 kB / 411.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1136, allocations: 71.69 kB / 411.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1137, allocations: 83.67 kB / 411.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.1137, allocations: 8 kB / 411.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1139, allocations: 63.91 kB / 412 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.951e-05/0.114, allocations: 55.81 kB / 412 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1141, allocations: 71.48 kB / 412.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1146, allocations: 238.9 kB / 412.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1146, allocations: 0 / 412.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1146, allocations: 0 / 412.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.1146, allocations: 0 / 412.3 MB, free: 2.648 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008065/0.1154, allocations: 0.5504 MB / 412.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1155, allocations: 11.89 kB / 412.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.1155, allocations: 24.8 kB / 412.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.116, allocations: 291.7 kB / 413.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.116, allocations: 8.375 kB / 413.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.116, allocations: 8.125 kB / 413.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.1164, allocations: 155.6 kB / 413.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1165, allocations: 0 / 413.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1165, allocations: 4 kB / 413.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1165, allocations: 4 kB / 413.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1166, allocations: 35.91 kB / 413.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.1172, allocations: 382.4 kB / 413.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1175, allocations: 119.9 kB / 413.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1176, allocations: 46.5 kB / 413.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1176, allocations: 0 / 413.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.1178, allocations: 83.44 kB / 414 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.817e-06/0.1178, allocations: 4 kB / 414 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004104/0.1182, allocations: 153.4 kB / 414.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.1183, allocations: 162.2 kB / 414.3 MB, free: 376 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.1187, allocations: 326.7 kB / 414.6 MB, free: 40 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1187, allocations: 29.64 kB / 414.7 MB, free: 4 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1189, allocations: 128.1 kB / 414.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1189, allocations: 20.14 kB / 414.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.119, allocations: 37.66 kB / 414.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1191, allocations: 334.8 kB / 415.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.1192, allocations: 24.23 kB / 415.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1194, allocations: 82.84 kB / 415.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.1195, allocations: 88.22 kB / 415.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1195, allocations: 0 / 415.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002434/0.1198, allocations: 121.5 kB / 415.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1198, allocations: 10 kB / 415.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1198, allocations: 4 kB / 415.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1199, allocations: 0 / 415.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.12, allocations: 23.92 kB / 415.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.12, allocations: 0 / 415.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.1201, allocations: 23.81 kB / 415.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1201, allocations: 4 kB / 415.6 MB, free: 15.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001659/0.1203, allocations: 149.8 kB / 415.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.621e-05/0.1204, allocations: 73.48 kB / 415.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.1204, allocations: 29.7 kB / 415.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1204, allocations: 0 / 415.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1205, allocations: 0 / 415.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1205, allocations: 7.938 kB / 415.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1207, allocations: 233.6 kB / 416 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1207, allocations: 0 / 416 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.1208, allocations: 12.03 kB / 416.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1208, allocations: 3.984 kB / 416.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1208, allocations: 11.94 kB / 416.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1208, allocations: 4.062 kB / 416.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1208, allocations: 8 kB / 416.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1211, allocations: 166.5 kB / 416.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1213, allocations: 116.9 kB / 416.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1213, allocations: 8 kB / 416.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.1214, allocations: 0 / 416.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1214, allocations: 15.98 kB / 416.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1215, allocations: 7.938 kB / 416.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.1217, allocations: 238 kB / 416.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1217, allocations: 3.938 kB / 416.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.122, allocations: 35.98 kB / 416.7 MB, free: 13.84 MB / 350.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001642/0.1237, allocations: 423.5 kB / 417.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.124, allocations: 79.89 kB / 417.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.124, allocations: 0 / 417.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.1241, allocations: 27.92 kB / 417.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.1246, allocations: 66.56 kB / 417.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.1253, allocations: 398.7 kB / 417.6 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1257, allocations: 0.7436 MB / 418.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.1257, allocations: 27.42 kB / 418.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1258, allocations: 0 / 418.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Templates: time 0.005785/0.1315, allocations: 2.901 MB / 421.3 MB, free: 9.312 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.826116072013974]