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.00137/0.00137, allocations: 74.88 kB / 21.24 MB, free: 0.5469 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.001563/0.001563, allocations: 160.7 kB / 24.5 MB, free: 3.719 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.431/1.431, allocations: 177.2 MB / 204.9 MB, free: 9.035 MB / 190.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.001788/0.001788, allocations: 50.88 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1013, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003966/0.1053, allocations: 1.816 MB / 380.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.1076, allocations: 1.118 MB / 381.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1077, allocations: 4 kB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007142/0.1085, allocations: 179.5 kB / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.1089, allocations: 167.3 kB / 382.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.1093, allocations: 147.6 kB / 382.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.1095, allocations: 211.3 kB / 382.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1096, allocations: 21.78 kB / 382.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1098, allocations: 87.64 kB / 382.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1099, allocations: 91.59 kB / 382.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.11, allocations: 12 kB / 382.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1101, allocations: 55.95 kB / 382.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.437e-05/0.1102, allocations: 51.83 kB / 382.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.781e-05/0.1103, allocations: 55.61 kB / 382.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.1107, allocations: 239 kB / 383.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1107, allocations: 3.938 kB / 383.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1107, allocations: 0 / 383.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1107, allocations: 0 / 383.1 MB, free: 11.41 MB / 350.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.0009218/0.1116, allocations: 474.7 kB / 383.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1116, allocations: 8.031 kB / 383.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.1117, allocations: 20.8 kB / 383.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.112, allocations: 209.5 kB / 383.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1121, allocations: 4.375 kB / 383.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1121, allocations: 16.12 kB / 383.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.1123, allocations: 112.8 kB / 384 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1123, allocations: 0 / 384 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1124, allocations: 12 kB / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1124, allocations: 0 / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1125, allocations: 51.91 kB / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.1132, allocations: 0.5321 MB / 384.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1134, allocations: 127.9 kB / 384.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.1135, allocations: 46.5 kB / 384.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1136, allocations: 7.938 kB / 384.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.1138, allocations: 125.9 kB / 384.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1138, allocations: 0 / 384.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004932/0.1143, allocations: 177.4 kB / 385 MB, free: 9.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.1144, allocations: 106.8 kB / 385.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1147, allocations: 298 kB / 385.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1148, allocations: 33.7 kB / 385.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1149, allocations: 128.1 kB / 385.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1149, allocations: 31.8 kB / 385.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.115, allocations: 33.7 kB / 385.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1151, allocations: 334.8 kB / 386 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.1152, allocations: 31.97 kB / 386 MB, free: 8.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1154, allocations: 106.8 kB / 386.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1156, allocations: 100.2 kB / 386.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.1156, allocations: 3.938 kB / 386.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003067/0.1159, allocations: 150 kB / 386.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1159, allocations: 4 kB / 386.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1159, allocations: 4 kB / 386.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.116, allocations: 0 / 386.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.116, allocations: 15.94 kB / 386.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1161, allocations: 7.984 kB / 386.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1162, allocations: 12.09 kB / 386.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1162, allocations: 8 kB / 386.4 MB, free: 7.852 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.0001439/0.1163, allocations: 142.4 kB / 386.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.1164, allocations: 35.78 kB / 386.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.1166, allocations: 111.4 kB / 386.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1166, allocations: 4 kB / 386.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1166, allocations: 0 / 386.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1166, allocations: 3.938 kB / 386.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1169, allocations: 185.1 kB / 386.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1169, allocations: 4 kB / 386.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.1169, allocations: 11.98 kB / 386.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1169, allocations: 0 / 386.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1169, allocations: 4 kB / 386.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1169, allocations: 3.938 kB / 386.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1169, allocations: 0 / 386.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1173, allocations: 190.6 kB / 387.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.1173, allocations: 15.89 kB / 387.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.1173, allocations: 8 kB / 387.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1175, allocations: 15.98 kB / 387.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.1175, allocations: 11.98 kB / 387.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.1175, allocations: 7.984 kB / 387.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.1178, allocations: 221.2 kB / 387.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1178, allocations: 3.938 kB / 387.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.118, allocations: 43.83 kB / 387.4 MB, free: 6.777 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.001676/0.1197, allocations: 450.3 kB / 387.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.12, allocations: 91.89 kB / 387.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.12, allocations: 0 / 387.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1202, allocations: 51.92 kB / 388 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1206, allocations: 55.84 kB / 388 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/0.1213, allocations: 356.8 kB / 388.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.1214, allocations: 127.8 kB / 388.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.1215, allocations: 21.48 kB / 388.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.1216, allocations: 24.48 kB / 388.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1216, allocations: 0 / 388.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of Templates: time 0.007102/0.1287, allocations: 2.881 MB / 391.4 MB, free: 2.902 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 ida -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.381767119979486]