Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001313/0.001313, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001472/0.001472, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.572/1.572, allocations: 177.2 MB / 204.9 MB, free: 8.98 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 54.77 kB / 325.6 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.09999, allocations: 53.34 MB / 378.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003402/0.1034, allocations: 1.87 MB / 380.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1058, allocations: 1.231 MB / 382 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1059, allocations: 4 kB / 382 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.1063, allocations: 75.59 kB / 382.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.1066, allocations: 127.4 kB / 382.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.1073, allocations: 235.3 kB / 382.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.1077, allocations: 183.5 kB / 382.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1078, allocations: 17.81 kB / 382.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1079, allocations: 83.56 kB / 382.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1081, allocations: 79.67 kB / 382.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1081, allocations: 8 kB / 382.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.1083, allocations: 75.94 kB / 382.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.1084, allocations: 55.7 kB / 382.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.3e-05/0.1085, allocations: 63.59 kB / 383 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.1088, allocations: 243 kB / 383.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1088, allocations: 0 / 383.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1088, allocations: 0 / 383.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1088, allocations: 0 / 383.2 MB, free: 11.47 MB / 350.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.0007029/0.1095, allocations: 482.4 kB / 383.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1096, allocations: 12.03 kB / 383.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1096, allocations: 20.8 kB / 383.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.11, allocations: 233.5 kB / 384 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1101, allocations: 16.36 kB / 384 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1101, allocations: 12.06 kB / 384 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.1105, allocations: 176.3 kB / 384.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1105, allocations: 0 / 384.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1105, allocations: 4 kB / 384.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1105, allocations: 4 kB / 384.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1107, allocations: 27.98 kB / 384.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.1112, allocations: 334 kB / 384.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.1115, allocations: 115.9 kB / 384.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1116, allocations: 46.56 kB / 384.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.1117, allocations: 4 kB / 384.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1118, allocations: 79.31 kB / 384.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1118, allocations: 0 / 384.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000409/0.1122, allocations: 157.4 kB / 384.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.1124, allocations: 140.5 kB / 385 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.1128, allocations: 333.9 kB / 385.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1128, allocations: 33.7 kB / 385.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1129, allocations: 136.1 kB / 385.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1129, allocations: 15.89 kB / 385.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.113, allocations: 33.7 kB / 385.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1132, allocations: 334.8 kB / 385.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.1132, allocations: 23.98 kB / 385.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1134, allocations: 137.6 kB / 386.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1136, allocations: 88.16 kB / 386.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1136, allocations: 0 / 386.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002507/0.1138, allocations: 129.6 kB / 386.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1138, allocations: 4 kB / 386.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1139, allocations: 12.22 kB / 386.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1139, allocations: 0 / 386.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.114, allocations: 23.98 kB / 386.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.114, allocations: 0 / 386.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.1141, allocations: 11.88 kB / 386.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1141, allocations: 4 kB / 386.3 MB, free: 8.055 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.0001604/0.1142, allocations: 161.8 kB / 386.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.1143, allocations: 69.45 kB / 386.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.1146, allocations: 127.5 kB / 386.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1146, allocations: 4 kB / 386.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1146, allocations: 0 / 386.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1146, allocations: 0 / 386.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.1148, allocations: 181.2 kB / 386.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1148, allocations: 4 kB / 386.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.1149, allocations: 15.92 kB / 386.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1149, allocations: 4 kB / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.1149, allocations: 0 / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1149, allocations: 0 / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1149, allocations: 4 kB / 386.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1152, allocations: 182.5 kB / 387.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.1153, allocations: 39.77 kB / 387.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.1154, allocations: 8 kB / 387.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.1154, allocations: 0 / 387.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.1155, allocations: 15.97 kB / 387.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1155, allocations: 4 kB / 387.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002779/0.1158, allocations: 249.2 kB / 387.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1158, allocations: 0 / 387.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1161, allocations: 35.94 kB / 387.4 MB, free: 6.895 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.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.001668/0.1177, allocations: 451.4 kB / 387.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.118, allocations: 87.75 kB / 387.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.118, allocations: 4 kB / 388 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.1181, allocations: 27.97 kB / 388 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.1185, allocations: 64.75 kB / 388 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.1194, allocations: 381.2 kB / 388.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1196, allocations: 131.9 kB / 388.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.338e-05/0.1196, allocations: 29.59 kB / 388.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.1197, allocations: 24.44 kB / 388.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1197, allocations: 0 / 388.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of Templates: time 0.007173/0.1269, allocations: 2.994 MB / 391.6 MB, free: 2.883 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.4062931559747085]