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.001563/0.001563, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001736/0.001736, allocations: 213.9 kB / 24.5 MB, free: 4.145 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001522/0.001522, allocations: 51.91 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2837, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.00378/0.2875, allocations: 1.874 MB / 434.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.2897, allocations: 1.204 MB / 435.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2898, allocations: 4 kB / 435.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.2905, allocations: 174.3 kB / 435.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.291, allocations: 175.2 kB / 435.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.2914, allocations: 143.6 kB / 435.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.2916, allocations: 219.3 kB / 436.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2918, allocations: 17.73 kB / 436.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.2919, allocations: 95.56 kB / 436.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.2921, allocations: 87.66 kB / 436.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.2921, allocations: 8 kB / 436.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.2922, allocations: 71.89 kB / 436.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.2923, allocations: 51.83 kB / 436.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.772e-05/0.2924, allocations: 71.55 kB / 436.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.2928, allocations: 228.4 kB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2928, allocations: 0 / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2928, allocations: 0 / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2928, allocations: 0 / 436.8 MB, free: 2.523 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.0009018/0.2937, allocations: 478.6 kB / 437.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2937, allocations: 12.03 kB / 437.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.2938, allocations: 24.8 kB / 437.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.2941, allocations: 201.2 kB / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2941, allocations: 4.375 kB / 437.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2941, allocations: 8.125 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2944, allocations: 117.9 kB / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2944, allocations: 7.984 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2944, allocations: 4 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2944, allocations: 0 / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.2946, allocations: 51.91 kB / 437.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.2953, allocations: 0.5862 MB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.2956, allocations: 115.9 kB / 438.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2957, allocations: 50.56 kB / 438.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2957, allocations: 4 kB / 438.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.2959, allocations: 121.8 kB / 438.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.2959, allocations: 0 / 438.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005176/0.2965, allocations: 181.8 kB / 438.7 MB, free: 392 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/0.2966, allocations: 132.5 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.2969, allocations: 293.1 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2969, allocations: 25.7 kB / 439.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.297, allocations: 132.3 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.2971, allocations: 27.75 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2971, allocations: 33.7 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.2974, allocations: 346.8 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.2975, allocations: 28.11 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2976, allocations: 85.98 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2978, allocations: 92.25 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2978, allocations: 4 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00028/0.2981, allocations: 141.4 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2981, allocations: 7.938 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2981, allocations: 4 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2981, allocations: 3.984 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.2982, allocations: 16.09 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2982, allocations: 4 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2983, allocations: 23.86 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2983, allocations: 4 kB / 440.1 MB, free: 14.9 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.0001504/0.2985, allocations: 142.4 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.2985, allocations: 27.86 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.2988, allocations: 107.6 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2988, allocations: 8 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2988, allocations: 0 / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.2988, allocations: 7.938 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.299, allocations: 216.5 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.299, allocations: 4 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.2991, allocations: 7.984 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2991, allocations: 3.938 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2991, allocations: 8 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.2991, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2991, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.2994, allocations: 186.5 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.2994, allocations: 19.84 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.2995, allocations: 7.984 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.2996, allocations: 11.98 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.2996, allocations: 19.92 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2997, allocations: 8 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.2999, allocations: 220.4 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2999, allocations: 0 / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3002, allocations: 32 kB / 441.1 MB, free: 13.8 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 (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.001555/0.3017, allocations: 426.6 kB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.302, allocations: 99.95 kB / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.302, allocations: 0 / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3022, allocations: 47.92 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3025, allocations: 55.78 kB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.3032, allocations: 390.6 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.3036, allocations: 0.736 MB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3037, allocations: 19.44 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3037, allocations: 0 / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Templates: time 0.005602/0.3093, allocations: 2.947 MB / 445.8 MB, free: 9.207 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.412964460905641]