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.00189/0.00189, allocations: 82.84 kB / 21.99 MB, free: 5.176 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.002366/0.002366, allocations: 161.8 kB / 25.25 MB, free: 3.027 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.37/1.37, allocations: 158.6 MB / 187 MB, free: 6.492 MB / 174.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.001764/0.001764, allocations: 55.91 kB / 299.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2241, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003426/0.2275, allocations: 1.771 MB / 350.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2292, allocations: 0.9339 MB / 351.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.774e-05/0.2292, allocations: 0 / 351.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.2299, allocations: 175.5 kB / 351.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.2302, allocations: 123.5 kB / 351.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.2306, allocations: 155.5 kB / 351.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.2309, allocations: 211.4 kB / 351.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.231, allocations: 13.8 kB / 351.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2311, allocations: 83.69 kB / 351.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.2313, allocations: 91.59 kB / 352 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.2313, allocations: 8 kB / 352 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.2315, allocations: 63.91 kB / 352.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.2316, allocations: 47.88 kB / 352.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.529e-05/0.2317, allocations: 55.61 kB / 352.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.232, allocations: 221.4 kB / 352.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.232, allocations: 0 / 352.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.232, allocations: 0 / 352.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.232, allocations: 4 kB / 352.4 MB, free: 11.58 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.0009664/0.233, allocations: 470.5 kB / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.233, allocations: 11.98 kB / 352.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.2331, allocations: 28.78 kB / 352.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.2334, allocations: 197.6 kB / 353.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2334, allocations: 4.375 kB / 353.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.2334, allocations: 20.09 kB / 353.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2337, allocations: 105.1 kB / 353.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2337, allocations: 11.94 kB / 353.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2337, allocations: 0 / 353.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2337, allocations: 0 / 353.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.2338, allocations: 55.95 kB / 353.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.2344, allocations: 0.5321 MB / 353.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.2347, allocations: 123.9 kB / 354 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2348, allocations: 46.56 kB / 354 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2348, allocations: 8 kB / 354 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.2351, allocations: 129.9 kB / 354.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.2351, allocations: 0 / 354.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004725/0.2356, allocations: 177.4 kB / 354.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.2356, allocations: 110.8 kB / 354.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.2359, allocations: 285.7 kB / 354.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.236, allocations: 29.7 kB / 354.7 MB, free: 9.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.2361, allocations: 128 kB / 354.9 MB, free: 8.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.2361, allocations: 27.92 kB / 354.9 MB, free: 8.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.2362, allocations: 37.7 kB / 354.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2363, allocations: 338.8 kB / 355.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2364, allocations: 27.98 kB / 355.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.2366, allocations: 102.8 kB / 355.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.2368, allocations: 96.72 kB / 355.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2368, allocations: 4 kB / 355.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002965/0.2371, allocations: 149.4 kB / 355.6 MB, free: 8.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2371, allocations: 8 kB / 355.6 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2371, allocations: 0 / 355.6 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2371, allocations: 4 kB / 355.6 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.2372, allocations: 19.92 kB / 355.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2372, allocations: 0 / 355.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2373, allocations: 23.88 kB / 355.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2373, allocations: 4 kB / 355.7 MB, free: 8.027 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.0001384/0.2375, allocations: 146.5 kB / 355.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.2375, allocations: 19.91 kB / 355.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.2378, allocations: 119.4 kB / 356 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2378, allocations: 0 / 356 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2378, allocations: 0 / 356 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2378, allocations: 4 kB / 356 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.238, allocations: 177.1 kB / 356.1 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-06/0.238, allocations: 3.984 kB / 356.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.238, allocations: 11.94 kB / 356.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2381, allocations: 4 kB / 356.2 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2381, allocations: 4 kB / 356.2 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2381, allocations: 0 / 356.2 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2381, allocations: 4.016 kB / 356.2 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.2384, allocations: 194.6 kB / 356.4 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.2384, allocations: 15.97 kB / 356.4 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.2385, allocations: 15.98 kB / 356.4 MB, free: 7.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2386, allocations: 7.984 kB / 356.4 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.2386, allocations: 19.97 kB / 356.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.2387, allocations: 4 kB / 356.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.2389, allocations: 213.2 kB / 356.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2389, allocations: 0 / 356.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.2391, allocations: 39.94 kB / 356.7 MB, free: 6.969 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.001711/0.2409, allocations: 444.4 kB / 357.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.2412, allocations: 95.89 kB / 357.2 MB, free: 6.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2412, allocations: 3.938 kB / 357.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2413, allocations: 56.11 kB / 357.3 MB, free: 6.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2417, allocations: 56.14 kB / 357.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.2423, allocations: 360.3 kB / 357.7 MB, free: 5.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2424, allocations: 115.6 kB / 357.8 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.089e-05/0.2425, allocations: 25.55 kB / 357.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.2426, allocations: 24.5 kB / 357.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2426, allocations: 0 / 357.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of Templates: time 0.006947/0.2495, allocations: 2.84 MB / 360.7 MB, free: 2.91 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 -s ida -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: 4.442070153076202]