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.001469/0.001469, allocations: 97.88 kB / 21.93 MB, free: 5.207 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.002425/0.002425, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.607/1.607, allocations: 207.7 MB / 236.1 MB, free: 9.781 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.001754/0.001754, allocations: 58.59 kB / 348.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2647, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002971/0.2677, allocations: 1.78 MB / 399.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2691, allocations: 0.9195 MB / 400.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.966e-05/0.2692, allocations: 1.25 kB / 400.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006796/0.2699, allocations: 180.8 kB / 400.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.2702, allocations: 132 kB / 400.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.2706, allocations: 154.4 kB / 400.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.2708, allocations: 203.2 kB / 400.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2709, allocations: 13.64 kB / 401 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.271, allocations: 92.52 kB / 401 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.2712, allocations: 87.16 kB / 401.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2712, allocations: 10.78 kB / 401.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.2714, allocations: 64.39 kB / 401.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.2714, allocations: 48.12 kB / 401.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.2715, allocations: 61.16 kB / 401.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.2718, allocations: 217.4 kB / 401.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2718, allocations: 0 / 401.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2718, allocations: 1.531 kB / 401.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2718, allocations: 0 / 401.5 MB, free: 7.055 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.0007459/0.2726, allocations: 474 kB / 402 MB, free: 6.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2726, allocations: 13.33 kB / 402 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.2727, allocations: 23.58 kB / 402 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.2729, allocations: 197.5 kB / 402.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2729, allocations: 4.625 kB / 402.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.273, allocations: 12.89 kB / 402.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.2732, allocations: 120.8 kB / 402.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2732, allocations: 0 / 402.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2732, allocations: 5.344 kB / 402.4 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2732, allocations: 5.281 kB / 402.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.2733, allocations: 48.34 kB / 402.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.2738, allocations: 0.5389 MB / 402.9 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.274, allocations: 122.8 kB / 403.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.2741, allocations: 48.75 kB / 403.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2742, allocations: 3.109 kB / 403.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.2744, allocations: 122.8 kB / 403.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2744, allocations: 0 / 403.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004331/0.2748, allocations: 181.9 kB / 403.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2748, allocations: 106 kB / 403.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.2751, allocations: 283.3 kB / 403.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2751, allocations: 26.73 kB / 403.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.2752, allocations: 130.5 kB / 403.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.2752, allocations: 30.02 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.2752, allocations: 35.73 kB / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.2753, allocations: 337.8 kB / 404.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.2754, allocations: 32.7 kB / 404.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.2755, allocations: 106.9 kB / 404.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.2757, allocations: 95.41 kB / 404.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2757, allocations: 4.547 kB / 404.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000284/0.276, allocations: 147.1 kB / 404.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.276, allocations: 8.969 kB / 404.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.276, allocations: 6.406 kB / 404.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.276, allocations: 1.438 kB / 404.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.2761, allocations: 18.31 kB / 404.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2761, allocations: 2 kB / 404.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2762, allocations: 23.47 kB / 404.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2762, allocations: 4 kB / 404.8 MB, free: 4.434 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.0001069/0.2763, allocations: 161.2 kB / 404.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2763, allocations: 17 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.2766, allocations: 110.3 kB / 405.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2766, allocations: 2.281 kB / 405.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2766, allocations: 0.9375 kB / 405.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2766, allocations: 2.391 kB / 405.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2768, allocations: 178.2 kB / 405.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2768, allocations: 2.344 kB / 405.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.2768, allocations: 10.41 kB / 405.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2768, allocations: 2.375 kB / 405.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2768, allocations: 3.281 kB / 405.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2768, allocations: 4.969 kB / 405.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2768, allocations: 1.125 kB / 405.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2771, allocations: 186.5 kB / 405.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.2771, allocations: 21.33 kB / 405.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.2772, allocations: 6.062 kB / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.2773, allocations: 9.891 kB / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.2773, allocations: 19.2 kB / 405.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2773, allocations: 8.219 kB / 405.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.2775, allocations: 210.2 kB / 405.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2775, allocations: 4 kB / 405.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.2778, allocations: 36.95 kB / 405.8 MB, free: 3.781 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.001518/0.2793, allocations: 449.8 kB / 406.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.2796, allocations: 88.14 kB / 406.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2796, allocations: 4 kB / 406.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2798, allocations: 57.98 kB / 406.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.2801, allocations: 54.88 kB / 406.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.2807, allocations: 388.5 kB / 406.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.2808, allocations: 119.7 kB / 406.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.2809, allocations: 21.23 kB / 406.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2809, allocations: 4 kB / 406.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of Templates: time 0.005222/0.2861, allocations: 2.939 MB / 409.9 MB, free: 2.145 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/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: 7.999039093032479]