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.001244/0.001244, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001336/0.001336, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.358/1.358, allocations: 230.4 MB / 255.4 MB, free: 15.19 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.001833/0.001833, allocations: 75.81 kB / 374.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09449, allocations: 53.31 MB / 428 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003152/0.09765, allocations: 1.866 MB / 429.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.09951, allocations: 1.184 MB / 431.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.09959, allocations: 3.938 kB / 431.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005672/0.1002, allocations: 179.1 kB / 431.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.1005, allocations: 155.4 kB / 431.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.1009, allocations: 147.5 kB / 431.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1011, allocations: 215.4 kB / 431.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.1012, allocations: 17.5 kB / 431.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1013, allocations: 91.61 kB / 431.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1015, allocations: 83.67 kB / 432 MB, free: 472 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.1015, allocations: 15.98 kB / 432 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1016, allocations: 55.97 kB / 432 MB, free: 400 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.1017, allocations: 51.77 kB / 432.1 MB, free: 348 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.048e-05/0.1018, allocations: 79.47 kB / 432.2 MB, free: 268 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.1021, allocations: 235 kB / 432.4 MB, free: 32 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1021, allocations: 4 kB / 432.4 MB, free: 28 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1021, allocations: 0 / 432.4 MB, free: 28 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1021, allocations: 0 / 432.4 MB, free: 28 kB / 350.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.1824/0.2845, allocations: 0.5229 MB / 432.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2846, allocations: 9.594 kB / 432.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.2847, allocations: 24.75 kB / 433 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.2849, allocations: 268.9 kB / 433.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2849, allocations: 4.594 kB / 433.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.285, allocations: 6.047 kB / 433.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.2852, allocations: 122.8 kB / 433.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2852, allocations: 1.094 kB / 433.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.2852, allocations: 4.469 kB / 433.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2852, allocations: 1.812 kB / 433.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.2854, allocations: 49.73 kB / 433.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.2859, allocations: 0.6138 MB / 434 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.2861, allocations: 116.2 kB / 434.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.2862, allocations: 50.44 kB / 434.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2862, allocations: 6.438 kB / 434.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.2864, allocations: 122.9 kB / 434.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.2864, allocations: 0.75 kB / 434.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004263/0.2869, allocations: 174.6 kB / 434.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2869, allocations: 137.7 kB / 434.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.2872, allocations: 293 kB / 434.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2872, allocations: 30.58 kB / 434.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.2873, allocations: 125.3 kB / 435 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2873, allocations: 31.73 kB / 435.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.2873, allocations: 35.03 kB / 435.1 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.2874, allocations: 340.1 kB / 435.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.2875, allocations: 31.59 kB / 435.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.2876, allocations: 86.52 kB / 435.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.2877, allocations: 97.92 kB / 435.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2877, allocations: 4.75 kB / 435.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000233/0.288, allocations: 139.5 kB / 435.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.288, allocations: 5 kB / 435.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.288, allocations: 3.375 kB / 435.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.288, allocations: 0 / 435.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.2881, allocations: 19.69 kB / 435.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2881, allocations: 10.61 kB / 435.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2882, allocations: 15.8 kB / 435.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2882, allocations: 5.5 kB / 435.9 MB, free: 9.551 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 9.433e-05/0.2883, allocations: 151.9 kB / 436 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.2883, allocations: 22.61 kB / 436 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.2884, allocations: 26.02 kB / 436 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2884, allocations: 0 / 436 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2884, allocations: 7.938 kB / 436.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2884, allocations: 4.391 kB / 436.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.2885, allocations: 246 kB / 436.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2885, allocations: 3 kB / 436.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.2886, allocations: 5.375 kB / 436.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2886, allocations: 4.844 kB / 436.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2886, allocations: 4.719 kB / 436.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2886, allocations: 1.062 kB / 436.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2886, allocations: 4.125 kB / 436.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.2888, allocations: 184.6 kB / 436.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.2889, allocations: 98.62 kB / 436.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.2889, allocations: 7.594 kB / 436.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.289, allocations: 11.25 kB / 436.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.2891, allocations: 16.73 kB / 436.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2891, allocations: 4.625 kB / 436.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.2892, allocations: 219.9 kB / 436.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2892, allocations: 0 / 436.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.2895, allocations: 36.34 kB / 436.9 MB, free: 8.93 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: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001374/0.2909, allocations: 424.8 kB / 437.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.2911, allocations: 96.45 kB / 437.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2911, allocations: 0 / 437.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.2913, allocations: 50.58 kB / 437.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2916, allocations: 53.72 kB / 437.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.2921, allocations: 385.7 kB / 437.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2923, allocations: 0.7325 MB / 438.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.2923, allocations: 21.66 kB / 438.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2923, allocations: 0 / 438.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Templates: time 0.005268/0.2976, allocations: 2.962 MB / 441.6 MB, free: 7.516 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: 6.820076321950182]