Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.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.001124/0.001124, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 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.00211/0.00211, allocations: 165.7 kB / 25.33 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9946/0.9946, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 4 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/3.006e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003594/0.003624, allocations: 1.857 MB / 252.9 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.005399, allocations: 0.936 MB / 253.8 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.00553, allocations: 4 kB / 253.8 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009109/0.006441, allocations: 175.3 kB / 254 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.006806, allocations: 135.4 kB / 254.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.007271, allocations: 151.5 kB / 254.3 MB, free: 4.242 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.00762, allocations: 203.4 kB / 254.5 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.007766, allocations: 25.77 kB / 254.5 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.007931, allocations: 111.7 kB / 254.6 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.008069, allocations: 75.78 kB / 254.7 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.0081, allocations: 12 kB / 254.7 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.008247, allocations: 63.89 kB / 254.8 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.008339, allocations: 51.77 kB / 254.8 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.008411, allocations: 47.84 kB / 254.9 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.008723, allocations: 167.3 kB / 255 MB, free: 3.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.008727, allocations: 4 kB / 255 MB, free: 3.496 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.008728, allocations: 0 / 255 MB, free: 3.496 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.008735, allocations: 0 / 255 MB, free: 3.496 MB / 234.7 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.0008122/0.009548, allocations: 0.5516 MB / 255.6 MB, free: 2.902 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.884e-05/0.009616, allocations: 15.98 kB / 255.6 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.009704, allocations: 28.73 kB / 255.6 MB, free: 2.859 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.01001, allocations: 204.5 kB / 255.8 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.01004, allocations: 8.359 kB / 255.8 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.01006, allocations: 8.375 kB / 255.8 MB, free: 2.613 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.01027, allocations: 112.5 kB / 255.9 MB, free: 2.484 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01029, allocations: 3.938 kB / 255.9 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.0103, allocations: 0 / 255.9 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.01031, allocations: 4 kB / 256 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.745e-05/0.01038, allocations: 31.91 kB / 256 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.01107, allocations: 0.7151 MB / 256.7 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.01126, allocations: 121.3 kB / 256.8 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.01131, allocations: 47.05 kB / 256.9 MB, free: 1.465 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.01134, allocations: 4 kB / 256.9 MB, free: 1.461 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.0115, allocations: 124 kB / 257 MB, free: 1.312 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.0115, allocations: 0 / 257 MB, free: 1.312 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003128/0.01182, allocations: 137.5 kB / 257.1 MB, free: 1.172 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.01187, allocations: 102.8 kB / 257.2 MB, free: 1.047 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.01207, allocations: 292.3 kB / 257.5 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01209, allocations: 29.7 kB / 257.5 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.01218, allocations: 178.9 kB / 257.7 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.47e-05/0.01222, allocations: 31.97 kB / 257.7 MB, free: 0.5 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.01227, allocations: 39.31 kB / 257.8 MB, free: 464 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000595/0.01286, allocations: 0.5079 MB / 258.3 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.0129, allocations: 15.92 kB / 258.3 MB, free: 15.92 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.01299, allocations: 95.81 kB / 258.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.01309, allocations: 98.23 kB / 258.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01309, allocations: 0 / 258.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001692/0.01326, allocations: 117.5 kB / 258.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.01328, allocations: 4 kB / 258.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.0133, allocations: 7.984 kB / 258.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.01331, allocations: 0.625 kB / 258.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.377e-05/0.01341, allocations: 16 kB / 258.6 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.01342, allocations: 4 kB / 258.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.01348, allocations: 15.94 kB / 258.7 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.01349, allocations: 4 kB / 258.7 MB, free: 15.5 MB / 250.7 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.000121/0.01362, allocations: 176.5 kB / 258.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.01364, allocations: 23.91 kB / 258.9 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.01381, allocations: 95.44 kB / 258.9 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01381, allocations: 0 / 258.9 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01382, allocations: 4 kB / 259 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.01382, allocations: 3.938 kB / 259 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.014, allocations: 192.4 kB / 259.1 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.014, allocations: 0 / 259.1 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.01402, allocations: 11.98 kB / 259.2 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01403, allocations: 3.984 kB / 259.2 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.01404, allocations: 8 kB / 259.2 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01404, allocations: 4 kB / 259.2 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01405, allocations: 0 / 259.2 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.01422, allocations: 179.6 kB / 259.3 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.01424, allocations: 19.86 kB / 259.4 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.01426, allocations: 4 kB / 259.4 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.0143, allocations: 11.98 kB / 259.4 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.01436, allocations: 15.97 kB / 259.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.01437, allocations: 4 kB / 259.4 MB, free: 14.67 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.0145, allocations: 209.1 kB / 259.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0145, allocations: 0 / 259.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01468, allocations: 35.94 kB / 259.6 MB, free: 14.44 MB / 250.7 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.000815/0.01549, allocations: 397.8 kB / 260 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.01566, allocations: 75.53 kB / 260.1 MB, free: 14.01 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01566, allocations: 0 / 260.1 MB, free: 14.01 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.01572, allocations: 43.86 kB / 260.1 MB, free: 13.96 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.01597, allocations: 64.59 kB / 260.2 MB, free: 13.9 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.01644, allocations: 321.1 kB / 260.5 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.01649, allocations: 75.98 kB / 260.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.01654, allocations: 25.72 kB / 260.6 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.01659, allocations: 28.48 kB / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01659, allocations: 0 / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of Templates: time 0.00518/0.02177, allocations: 3.078 MB / 263.7 MB, free: 10.33 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.855828461702913]