Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001807/0.001807, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002275/0.002275, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.801 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+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_4.1.0_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_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2341, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003263/0.2373, allocations: 1.821 MB / 434.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.2395, allocations: 1.126 MB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2396, allocations: 3.938 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.2402, allocations: 171.5 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.2406, allocations: 163.3 kB / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.241, allocations: 151.6 kB / 435.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.2412, allocations: 215.3 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.2413, allocations: 17.73 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.2415, allocations: 91.62 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2416, allocations: 95.59 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.2416, allocations: 15.94 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2418, allocations: 59.89 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.2419, allocations: 47.84 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.2419, allocations: 63.64 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.2423, allocations: 229.7 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2423, allocations: 0 / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2423, allocations: 0 / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2423, allocations: 0 / 436.6 MB, free: 2.465 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.0008736/0.2431, allocations: 478.6 kB / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2432, allocations: 8.031 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.2432, allocations: 20.8 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.2436, allocations: 201.2 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2436, allocations: 12.38 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.2436, allocations: 8.125 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.2438, allocations: 112.5 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.2439, allocations: 0 / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2439, allocations: 8 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2439, allocations: 0 / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.244, allocations: 51.91 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.2447, allocations: 0.5398 MB / 438 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.245, allocations: 127.9 kB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.2451, allocations: 50.55 kB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.2451, allocations: 4 kB / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.2454, allocations: 125.9 kB / 438.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.2454, allocations: 3.938 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004918/0.2459, allocations: 173.9 kB / 438.5 MB, free: 396 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.2459, allocations: 106.9 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.2463, allocations: 301.1 kB / 438.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2463, allocations: 29.7 kB / 438.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2464, allocations: 128.1 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.2465, allocations: 35.73 kB / 439 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.2465, allocations: 33.7 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2467, allocations: 334.8 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.2468, allocations: 27.98 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.2469, allocations: 106.8 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.2471, allocations: 104.3 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2471, allocations: 0 / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003026/0.2474, allocations: 145.4 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2474, allocations: 7.984 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2475, allocations: 4 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2475, allocations: 0 / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.2476, allocations: 12 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2476, allocations: 12.03 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2477, allocations: 11.98 kB / 439.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2477, allocations: 8 kB / 439.8 MB, free: 14.91 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 0.0001416/0.2478, allocations: 158.2 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.2479, allocations: 23.86 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.2481, allocations: 107.4 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2481, allocations: 7.984 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2481, allocations: 3.938 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2481, allocations: 0 / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2483, allocations: 185.3 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2483, allocations: 4 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.2484, allocations: 8 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2484, allocations: 0 / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2484, allocations: 11.98 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2484, allocations: 0 / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2484, allocations: 0 / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.2488, allocations: 186.5 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.2488, allocations: 27.83 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.2488, allocations: 4 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2489, allocations: 15.98 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.249, allocations: 11.98 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.249, allocations: 11.98 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002383/0.2493, allocations: 216.5 kB / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2493, allocations: 0 / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.2495, allocations: 43.83 kB / 440.8 MB, free: 13.83 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.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.001661/0.2512, allocations: 449.2 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.2515, allocations: 91.84 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2515, allocations: 0 / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.2516, allocations: 55.91 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.252, allocations: 49.95 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.2526, allocations: 349 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.2527, allocations: 127.8 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.2528, allocations: 25.56 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.2529, allocations: 23.42 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2529, allocations: 0 / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Templates: time 0.006983/0.2598, allocations: 3.041 MB / 445 MB, free: 9.805 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.335855772995274]