Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001933/0.001933, allocations: 116.9 kB / 18.41 MB, free: 4.613 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.002366/0.002366, allocations: 190.9 kB / 21.35 MB, free: 1.684 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.801/1.801, allocations: 222.9 MB / 247.1 MB, free: 4.094 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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 47.91 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.1006, allocations: 49.44 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003748/0.1044, allocations: 1.876 MB / 410 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1064, allocations: 1.068 MB / 411 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1066, allocations: 7.938 kB / 411.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.1073, allocations: 151.5 kB / 411.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.1076, allocations: 111.5 kB / 411.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.1083, allocations: 211.2 kB / 411.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.1086, allocations: 183.5 kB / 411.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1088, allocations: 33.48 kB / 411.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1089, allocations: 75.69 kB / 411.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1091, allocations: 67.69 kB / 411.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.1091, allocations: 16 kB / 411.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1093, allocations: 55.91 kB / 411.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.1094, allocations: 43.84 kB / 412 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.426e-05/0.1095, allocations: 67.53 kB / 412 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.1099, allocations: 203.1 kB / 412.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1099, allocations: 0 / 412.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1099, allocations: 0 / 412.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1099, allocations: 0 / 412.2 MB, free: 2.711 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.0008884/0.1108, allocations: 0.5116 MB / 412.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1109, allocations: 15.89 kB / 412.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.1109, allocations: 24.8 kB / 412.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.1113, allocations: 267 kB / 413.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1114, allocations: 12.31 kB / 413.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1114, allocations: 8.125 kB / 413.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.1118, allocations: 142.7 kB / 413.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1118, allocations: 7.984 kB / 413.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1118, allocations: 3.984 kB / 413.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1118, allocations: 0 / 413.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1119, allocations: 35.92 kB / 413.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.1125, allocations: 354.5 kB / 413.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.1127, allocations: 107.9 kB / 413.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.1128, allocations: 46.56 kB / 413.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1129, allocations: 0 / 413.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1131, allocations: 83.2 kB / 413.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.1131, allocations: 4 kB / 413.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003953/0.1135, allocations: 141.6 kB / 414 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1136, allocations: 132.5 kB / 414.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.1139, allocations: 265 kB / 414.4 MB, free: 316 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1139, allocations: 25.7 kB / 414.4 MB, free: 284 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.114, allocations: 124 kB / 414.5 MB, free: 156 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1141, allocations: 23.91 kB / 414.5 MB, free: 132 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.1141, allocations: 29.7 kB / 414.6 MB, free: 96 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1143, allocations: 334.9 kB / 414.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.1144, allocations: 19.98 kB / 414.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1145, allocations: 69.94 kB / 415 MB, free: 15.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1146, allocations: 88.5 kB / 415.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1146, allocations: 0 / 415.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002249/0.1149, allocations: 117.5 kB / 415.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1149, allocations: 4 kB / 415.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1149, allocations: 0 / 415.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1149, allocations: 4.125 kB / 415.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.115, allocations: 15.98 kB / 415.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.115, allocations: 7.938 kB / 415.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.1151, allocations: 11.89 kB / 415.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1151, allocations: 4 kB / 415.2 MB, free: 15.38 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.0001395/0.1153, allocations: 141.8 kB / 415.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/0.1154, allocations: 69.53 kB / 415.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.1154, allocations: 13.72 kB / 415.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1154, allocations: 8.062 kB / 415.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1155, allocations: 0 / 415.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.1155, allocations: 7.922 kB / 415.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1157, allocations: 229.5 kB / 415.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1157, allocations: 0 / 415.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.1157, allocations: 4 kB / 415.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1157, allocations: 0 / 415.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1158, allocations: 8 kB / 415.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1158, allocations: 0 / 415.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.1158, allocations: 3.984 kB / 415.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.116, allocations: 158.6 kB / 415.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1162, allocations: 113 kB / 416 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.1162, allocations: 11.92 kB / 416 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.1163, allocations: 0 / 416 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.1163, allocations: 8 kB / 416 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1163, allocations: 11.92 kB / 416 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.1166, allocations: 200.4 kB / 416.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1166, allocations: 0 / 416.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1168, allocations: 31.92 kB / 416.2 MB, free: 14.27 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.001567/0.1184, allocations: 418.3 kB / 416.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1187, allocations: 75.84 kB / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1187, allocations: 4.25 kB / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.732e-05/0.1188, allocations: 27.92 kB / 416.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1192, allocations: 52.19 kB / 416.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.1198, allocations: 342.2 kB / 417.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1202, allocations: 0.7359 MB / 417.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.1202, allocations: 23.31 kB / 417.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1202, allocations: 0 / 417.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Templates: time 0.005463/0.1257, allocations: 2.595 MB / 420.5 MB, free: 10.14 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.815525897894986]