Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.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.001255/0.001255, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001404/0.001404, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.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-beta.om/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.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2487, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003223/0.2519, allocations: 1.872 MB / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.2539, allocations: 1.192 MB / 435.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.254, allocations: 0 / 435.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.2546, allocations: 179.4 kB / 435.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.255, allocations: 163.3 kB / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.2554, allocations: 142.7 kB / 435.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.2556, allocations: 219.4 kB / 435.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.2557, allocations: 17.55 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.2559, allocations: 83.62 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.256, allocations: 99.53 kB / 436 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.2561, allocations: 12 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.2562, allocations: 55.91 kB / 436.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.2563, allocations: 55.81 kB / 436.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.2564, allocations: 71.55 kB / 436.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.2567, allocations: 233 kB / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2567, allocations: 0 / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2567, allocations: 4 kB / 436.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2567, allocations: 0 / 436.4 MB, free: 3.027 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009101/0.2576, allocations: 0.5349 MB / 437 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2577, allocations: 12.02 kB / 437 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.2577, allocations: 24.8 kB / 437 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.2581, allocations: 259 kB / 437.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2581, allocations: 8.297 kB / 437.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.2581, allocations: 16.12 kB / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.2583, allocations: 106 kB / 437.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2583, allocations: 4 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2584, allocations: 4 kB / 437.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2584, allocations: 0 / 437.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.2585, allocations: 55.89 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/0.2592, allocations: 0.6143 MB / 438 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.2595, allocations: 123.9 kB / 438.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2596, allocations: 42.56 kB / 438.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2596, allocations: 4 kB / 438.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.2599, allocations: 125.9 kB / 438.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.2599, allocations: 0 / 438.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004567/0.2603, allocations: 173.4 kB / 438.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.2604, allocations: 140.4 kB / 438.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.2607, allocations: 296.9 kB / 438.9 MB, free: 240 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2608, allocations: 29.83 kB / 439 MB, free: 204 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.2609, allocations: 128.3 kB / 439.1 MB, free: 72 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.2609, allocations: 31.75 kB / 439.1 MB, free: 40 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.261, allocations: 33.7 kB / 439.1 MB, free: 0 / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2611, allocations: 334.8 kB / 439.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.2612, allocations: 31.98 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2614, allocations: 78 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.2616, allocations: 100.7 kB / 439.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2616, allocations: 4 kB / 439.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002975/0.2619, allocations: 145.4 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2619, allocations: 4 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2619, allocations: 4 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2619, allocations: 0 / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.262, allocations: 19.92 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.262, allocations: 3.938 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2621, allocations: 15.98 kB / 439.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2621, allocations: 7.938 kB / 439.9 MB, free: 15.21 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: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000147/0.2623, allocations: 151.4 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.2623, allocations: 23.86 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.2626, allocations: 115.3 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.2626, allocations: 4 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2626, allocations: 0 / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.2626, allocations: 96.95 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.2627, allocations: 7.938 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2628, allocations: 15.98 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.2628, allocations: 16.17 kB / 440.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004387/0.2633, allocations: 375.5 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004612/0.2637, allocations: 481 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001254/0.2639, allocations: 39.97 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.2641, allocations: 220.5 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Backend: time 2.51e-07/0.2641, allocations: 0 / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.2662, allocations: 468.7 kB / 441.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009373/0.2671, allocations: 0.793 MB / 442.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of Templates: time 0.007233/0.2743, allocations: 3.024 MB / 445.7 MB, free: 9.512 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.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.235537081956863]