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.001653/0.001653, allocations: 107.6 kB / 21.18 MB, free: 0.6094 MB / 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.00216/0.00216, allocations: 215 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.541/1.541, allocations: 207.7 MB / 235.3 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.92 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2721, allocations: 49.14 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003079/0.2751, allocations: 1.786 MB / 398.6 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2767, allocations: 0.9258 MB / 399.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2768, allocations: 2.5 kB / 399.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007068/0.2775, allocations: 174.6 kB / 399.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.2779, allocations: 125.3 kB / 399.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2783, allocations: 164.8 kB / 400 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.2785, allocations: 204.8 kB / 400.2 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2787, allocations: 14.27 kB / 400.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2788, allocations: 83.25 kB / 400.3 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.279, allocations: 87.33 kB / 400.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.279, allocations: 11.56 kB / 400.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.2792, allocations: 64.12 kB / 400.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2793, allocations: 47.81 kB / 400.5 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.2794, allocations: 57.12 kB / 400.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.2797, allocations: 218 kB / 400.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2797, allocations: 0 / 400.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2797, allocations: 4 kB / 400.8 MB, free: 7.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2797, allocations: 1.438 kB / 400.8 MB, free: 7.043 MB / 318.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.0007834/0.2805, allocations: 474.8 kB / 401.2 MB, free: 6.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2806, allocations: 13.36 kB / 401.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.2806, allocations: 22.02 kB / 401.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.2809, allocations: 199.4 kB / 401.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2809, allocations: 6.781 kB / 401.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.2809, allocations: 8.781 kB / 401.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.2811, allocations: 117.4 kB / 401.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2811, allocations: 1.219 kB / 401.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.2811, allocations: 1.906 kB / 401.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2812, allocations: 1.219 kB / 401.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.2813, allocations: 59.95 kB / 401.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.2818, allocations: 0.5332 MB / 402.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2821, allocations: 123.1 kB / 402.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.2822, allocations: 48.81 kB / 402.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.2822, allocations: 7.266 kB / 402.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.2824, allocations: 119.8 kB / 402.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.2824, allocations: 0 / 402.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004838/0.2829, allocations: 177.2 kB / 402.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.2829, allocations: 110.3 kB / 402.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2833, allocations: 282.3 kB / 403 MB, free: 5.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2833, allocations: 31.62 kB / 403.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.2834, allocations: 129.9 kB / 403.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.2834, allocations: 31.73 kB / 403.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.2835, allocations: 39.5 kB / 403.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.2835, allocations: 335 kB / 403.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.2836, allocations: 31.14 kB / 403.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2838, allocations: 105 kB / 403.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.284, allocations: 95.45 kB / 403.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.284, allocations: 5 kB / 403.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002693/0.2842, allocations: 155.2 kB / 404 MB, free: 4.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2842, allocations: 5.875 kB / 404 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2843, allocations: 1.281 kB / 404 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2843, allocations: 2.188 kB / 404 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.2844, allocations: 17.92 kB / 404 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2844, allocations: 2.062 kB / 404 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2845, allocations: 26.94 kB / 404 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2845, allocations: 4.906 kB / 404 MB, free: 4.418 MB / 318.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.0001051/0.2846, allocations: 144 kB / 404.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.2846, allocations: 18.41 kB / 404.2 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.2849, allocations: 123 kB / 404.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2849, allocations: 1.469 kB / 404.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2849, allocations: 1.469 kB / 404.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2849, allocations: 4.219 kB / 404.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.285, allocations: 172.7 kB / 404.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.285, allocations: 1.375 kB / 404.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.2851, allocations: 16.44 kB / 404.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2851, allocations: 1.188 kB / 404.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.2851, allocations: 2.219 kB / 404.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2851, allocations: 1.312 kB / 404.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2851, allocations: 1.156 kB / 404.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.2854, allocations: 187.6 kB / 404.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.2854, allocations: 22.72 kB / 404.7 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.2854, allocations: 1.938 kB / 404.7 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.2855, allocations: 13.95 kB / 404.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.2856, allocations: 20.39 kB / 404.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.2856, allocations: 5.469 kB / 404.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.2858, allocations: 209.3 kB / 405 MB, free: 3.785 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2858, allocations: 0 / 405 MB, free: 3.785 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000276/0.2861, allocations: 44.02 kB / 405 MB, free: 3.77 MB / 318.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.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.001612/0.2877, allocations: 449.8 kB / 405.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.288, allocations: 95.7 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.288, allocations: 1.219 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.2881, allocations: 52.59 kB / 405.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.2885, allocations: 50.55 kB / 405.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.289, allocations: 350.8 kB / 406 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.2891, allocations: 124.6 kB / 406.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.982e-05/0.2892, allocations: 29.64 kB / 406.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.2893, allocations: 27.67 kB / 406.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2893, allocations: 0 / 406.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of Templates: time 0.007896/0.2972, allocations: 2.964 MB / 409.1 MB, free: 2.16 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.685018673539162]