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.001293/0.001293, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001403/0.001403, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001513/0.001513, allocations: 51.92 kB / 379 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2701, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003416/0.2735, allocations: 1.817 MB / 434.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.2756, allocations: 1.118 MB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2757, allocations: 3.938 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.2763, allocations: 175.5 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.2768, allocations: 167.3 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.2771, allocations: 150.8 kB / 435.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.2774, allocations: 215.4 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2775, allocations: 17.73 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.2776, allocations: 99.56 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2778, allocations: 87.67 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.2778, allocations: 11.98 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.2779, allocations: 59.91 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.278, allocations: 55.81 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.2781, allocations: 55.61 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.2785, allocations: 236.7 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2785, allocations: 0 / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2785, allocations: 0 / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2785, allocations: 0 / 436.6 MB, free: 2.449 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.0008721/0.2793, allocations: 470.7 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2794, allocations: 12.03 kB / 437 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.2794, allocations: 20.8 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.2798, allocations: 201.2 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.2798, allocations: 12.31 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.2798, allocations: 8.125 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.28, allocations: 105.1 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.28, allocations: 4 kB / 437.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2801, allocations: 8 kB / 437.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2801, allocations: 4 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2802, allocations: 51.91 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.2808, allocations: 0.5438 MB / 438 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.2811, allocations: 123.9 kB / 438.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2812, allocations: 46.56 kB / 438.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.2812, allocations: 8 kB / 438.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.2815, allocations: 125.9 kB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.2815, allocations: 0 / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004425/0.2819, allocations: 169.5 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.282, allocations: 106.8 kB / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.2823, allocations: 305 kB / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2824, allocations: 29.7 kB / 438.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.2824, allocations: 120.1 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.2825, allocations: 39.67 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.2825, allocations: 33.7 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2827, allocations: 338.9 kB / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.2828, allocations: 35.91 kB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2829, allocations: 102.8 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.2831, allocations: 96.2 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2831, allocations: 0 / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002855/0.2834, allocations: 158 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2834, allocations: 4 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2834, allocations: 4 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2835, allocations: 0 / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.2835, allocations: 12 kB / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2835, allocations: 0 / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2836, allocations: 19.92 kB / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2837, allocations: 4 kB / 439.8 MB, free: 14.89 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.0001415/0.2838, allocations: 154.3 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.2838, allocations: 23.89 kB / 440 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.2841, allocations: 123.2 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2841, allocations: 7.984 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2841, allocations: 0 / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2841, allocations: 0 / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.2843, allocations: 177.2 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2843, allocations: 0 / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.2843, allocations: 11.98 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2843, allocations: 0 / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2844, allocations: 4 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2844, allocations: 4.078 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2844, allocations: 7.984 kB / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.2847, allocations: 190.5 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.2847, allocations: 23.89 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.2848, allocations: 4 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.2848, allocations: 7.984 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.2849, allocations: 15.98 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.2849, allocations: 11.98 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.2852, allocations: 216.5 kB / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2852, allocations: 0 / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.2854, allocations: 43.88 kB / 440.8 MB, free: 13.82 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.00164/0.2871, allocations: 453.2 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.2873, allocations: 83.91 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2873, allocations: 0 / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.2875, allocations: 59.91 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.2878, allocations: 52.22 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.0006721/0.2885, allocations: 398.5 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2886, allocations: 115.6 kB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.2887, allocations: 27.42 kB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2887, allocations: 0 / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Templates: time 0.005351/0.294, allocations: 3.003 MB / 445 MB, free: 9.789 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 -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: 7.412235931027681]