Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 55.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3028, allocations: 52.14 MB / 420.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003789/0.3066, allocations: 1.851 MB / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3086, allocations: 1.06 MB / 423.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3087, allocations: 0 / 423.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007379/0.3095, allocations: 167.5 kB / 423.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3098, allocations: 123.5 kB / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3103, allocations: 185.8 kB / 424.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.3106, allocations: 203.4 kB / 424.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3107, allocations: 13.55 kB / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3109, allocations: 95.61 kB / 424.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.311, allocations: 83.67 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.3111, allocations: 11.98 kB / 424.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3112, allocations: 51.97 kB / 424.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.3113, allocations: 51.78 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.3114, allocations: 83.53 kB / 424.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.3117, allocations: 216.4 kB / 425 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3118, allocations: 0 / 425 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3118, allocations: 0 / 425 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3118, allocations: 0 / 425 MB, free: 10.96 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.00103/0.3128, allocations: 0.5349 MB / 425.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3128, allocations: 11.97 kB / 425.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.3129, allocations: 24.8 kB / 425.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.3132, allocations: 258.8 kB / 425.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3133, allocations: 8 kB / 425.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3133, allocations: 7.938 kB / 425.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.3136, allocations: 121.9 kB / 426 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3136, allocations: 3.984 kB / 426 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3136, allocations: 12 kB / 426 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3136, allocations: 0 / 426 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3137, allocations: 47.91 kB / 426 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.3145, allocations: 0.5988 MB / 426.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.3148, allocations: 127.9 kB / 426.8 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3149, allocations: 42.56 kB / 426.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.3149, allocations: 4 kB / 426.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.3152, allocations: 117.9 kB / 426.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.3152, allocations: 0 / 426.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004998/0.3157, allocations: 173.4 kB / 427.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.3158, allocations: 144.6 kB / 427.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.3162, allocations: 289 kB / 427.5 MB, free: 8.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.3162, allocations: 25.7 kB / 427.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3163, allocations: 124.4 kB / 427.7 MB, free: 8.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.3164, allocations: 31.84 kB / 427.7 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.3164, allocations: 37.7 kB / 427.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3166, allocations: 326.8 kB / 428 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3167, allocations: 31.98 kB / 428.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.3168, allocations: 89.92 kB / 428.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.317, allocations: 96.25 kB / 428.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.317, allocations: 0 / 428.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002725/0.3173, allocations: 142 kB / 428.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3173, allocations: 7.938 kB / 428.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3173, allocations: 4 kB / 428.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3174, allocations: 0 / 428.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.3175, allocations: 23.86 kB / 428.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3175, allocations: 4 kB / 428.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3176, allocations: 27.97 kB / 428.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3176, allocations: 4 kB / 428.5 MB, free: 7.148 MB / 334.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.0001593/0.3177, allocations: 153.6 kB / 428.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.3178, allocations: 23.86 kB / 428.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.318, allocations: 107.4 kB / 428.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.318, allocations: 7.938 kB / 428.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3181, allocations: 0 / 428.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3181, allocations: 4 kB / 428.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3183, allocations: 241.5 kB / 429 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3183, allocations: 3.984 kB / 429 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.3184, allocations: 7.938 kB / 429 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3184, allocations: 4 kB / 429 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3184, allocations: 0 / 429 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3184, allocations: 3.938 kB / 429 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3184, allocations: 4 kB / 429 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.3187, allocations: 178.6 kB / 429.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.3188, allocations: 100.9 kB / 429.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.3188, allocations: 4.125 kB / 429.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.3189, allocations: 23.86 kB / 429.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.319, allocations: 11.98 kB / 429.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.319, allocations: 8 kB / 429.3 MB, free: 6.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.3193, allocations: 212.5 kB / 429.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3193, allocations: 0 / 429.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3195, allocations: 39.94 kB / 429.6 MB, free: 5.922 MB / 334.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 (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.001568/0.3211, allocations: 413.7 kB / 430 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.3214, allocations: 92.02 kB / 430.1 MB, free: 5.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3214, allocations: 8.062 kB / 430.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3216, allocations: 48.11 kB / 430.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3219, allocations: 51.22 kB / 430.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.3226, allocations: 348.4 kB / 430.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.323, allocations: 0.7397 MB / 431.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.648e-05/0.3231, allocations: 21.55 kB / 431.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.3232, allocations: 19.44 kB / 431.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3232, allocations: 0 / 431.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of Templates: time 0.007131/0.3303, allocations: 2.791 MB / 434.1 MB, free: 1.535 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.493764323182404]