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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 107.5 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 183.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 55.91 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07153/0.07271, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003066/0.0758, allocations: 1.817 MB / 377.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.07727, allocations: 0.9556 MB / 378.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.07739, allocations: 4 kB / 378.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.07797, allocations: 167.5 kB / 378.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.07828, allocations: 123.5 kB / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.07868, allocations: 159.6 kB / 379 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.07894, allocations: 207.4 kB / 379.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.07905, allocations: 21.55 kB / 379.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.07917, allocations: 83.62 kB / 379.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.07931, allocations: 83.67 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.07935, allocations: 8 kB / 379.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.07951, allocations: 59.91 kB / 379.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.07959, allocations: 55.81 kB / 379.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.07968, allocations: 71.55 kB / 379.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.07996, allocations: 215.2 kB / 379.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.07998, allocations: 0 / 379.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07998, allocations: 4 kB / 379.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.07999, allocations: 0 / 379.8 MB, free: 0.5547 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.1431/0.2231, allocations: 0.5241 MB / 380.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2231, allocations: 10 kB / 380.4 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.855e-05/0.2232, allocations: 23.88 kB / 380.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.2235, allocations: 256.4 kB / 380.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2236, allocations: 5.109 kB / 380.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2236, allocations: 6.734 kB / 380.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.2238, allocations: 121.5 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.2239, allocations: 0 / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2239, allocations: 6.031 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2239, allocations: 1.312 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.224, allocations: 51.53 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.2246, allocations: 0.6085 MB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.2248, allocations: 121.9 kB / 381.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.2249, allocations: 53.27 kB / 381.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.2249, allocations: 2.625 kB / 381.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.2251, allocations: 128 kB / 381.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.2251, allocations: 0 / 381.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004184/0.2256, allocations: 172.1 kB / 381.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.2256, allocations: 132.8 kB / 382 MB, free: 12.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.2259, allocations: 283.6 kB / 382.3 MB, free: 12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2259, allocations: 32.62 kB / 382.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.226, allocations: 124.7 kB / 382.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.226, allocations: 29.61 kB / 382.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.226, allocations: 34.84 kB / 382.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.2261, allocations: 338.2 kB / 382.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.2262, allocations: 30.25 kB / 382.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.2263, allocations: 86.59 kB / 383 MB, free: 11.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.2265, allocations: 102.2 kB / 383.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2265, allocations: 0.7812 kB / 383.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002501/0.2267, allocations: 144.9 kB / 383.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2267, allocations: 6.438 kB / 383.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2268, allocations: 2.125 kB / 383.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2268, allocations: 1.375 kB / 383.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.2269, allocations: 22.05 kB / 383.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2269, allocations: 1.375 kB / 383.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.227, allocations: 16.56 kB / 383.2 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.227, allocations: 4.922 kB / 383.3 MB, free: 11.37 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 9.374e-05/0.2271, allocations: 153.5 kB / 383.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.2272, allocations: 25.09 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.2272, allocations: 28.64 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.2272, allocations: 1.812 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2272, allocations: 3.938 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.2273, allocations: 95.09 kB / 383.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.2273, allocations: 6.5 kB / 383.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2274, allocations: 13.45 kB / 383.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.2275, allocations: 17.8 kB / 383.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003639/0.2279, allocations: 370.7 kB / 384 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003235/0.2282, allocations: 463.4 kB / 384.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001268/0.2284, allocations: 51.83 kB / 384.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.2286, allocations: 217.4 kB / 384.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of Backend: time 3.7e-07/0.2286, allocations: 1.766 kB / 384.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2301, allocations: 475.1 kB / 385.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006437/0.2307, allocations: 0.7912 MB / 385.9 MB, free: 9.344 MB / 318.1 MB Notification: Performance of Templates: time 0.006151/0.2369, allocations: 2.932 MB / 388.9 MB, free: 9.07 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) 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) Reference file matches