Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 63.91 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1015, allocations: 53.33 MB / 426.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003386/0.1048, allocations: 1.858 MB / 428.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1069, allocations: 1.188 MB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.107, allocations: 0 / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006755/0.1077, allocations: 171.5 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.1081, allocations: 167.3 kB / 430 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1085, allocations: 143.6 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.1088, allocations: 211.4 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.1089, allocations: 17.53 kB / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.109, allocations: 83.64 kB / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1092, allocations: 95.59 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1092, allocations: 15.94 kB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1093, allocations: 55.95 kB / 430.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.1094, allocations: 55.83 kB / 430.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.1095, allocations: 75.48 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.1098, allocations: 235 kB / 431 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1098, allocations: 0 / 431 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1098, allocations: 0 / 431 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1098, allocations: 0 / 431 MB, free: 0.6562 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.0008959/0.1107, allocations: 0.5311 MB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1108, allocations: 12.03 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.1108, allocations: 38.75 kB / 431.6 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.1109, allocations: 24.84 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.1113, allocations: 270.8 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1113, allocations: 4.375 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1113, allocations: 4.375 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1116, allocations: 124.7 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1116, allocations: 7.922 kB / 432 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1116, allocations: 4 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1116, allocations: 0 / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1117, allocations: 55.89 kB / 432.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.1124, allocations: 0.6066 MB / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.1127, allocations: 111.9 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1128, allocations: 50.56 kB / 432.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.1128, allocations: 7.938 kB / 432.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.113, allocations: 113.9 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1131, allocations: 0 / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004566/0.1135, allocations: 181.4 kB / 433.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.1136, allocations: 132.5 kB / 433.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.1139, allocations: 297 kB / 433.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.114, allocations: 29.7 kB / 433.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.1141, allocations: 120.4 kB / 433.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.1141, allocations: 39.8 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.1142, allocations: 29.72 kB / 433.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1143, allocations: 342.9 kB / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1144, allocations: 27.98 kB / 434.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1145, allocations: 84.17 kB / 434.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1147, allocations: 104.2 kB / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1147, allocations: 0 / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002679/0.115, allocations: 145.4 kB / 434.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.115, allocations: 4 kB / 434.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.115, allocations: 3.938 kB / 434.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.115, allocations: 4 kB / 434.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.1151, allocations: 31.95 kB / 434.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1151, allocations: 0 / 434.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1152, allocations: 11.94 kB / 434.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1152, allocations: 7.984 kB / 434.5 MB, free: 12.79 MB / 366.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.0001421/0.1154, allocations: 145.8 kB / 434.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.1154, allocations: 27.84 kB / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.1155, allocations: 21.72 kB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1155, allocations: 3.984 kB / 434.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1155, allocations: 7.938 kB / 434.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1155, allocations: 4 kB / 434.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1157, allocations: 245.4 kB / 435 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1157, allocations: 4 kB / 435 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.1158, allocations: 12.12 kB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1158, allocations: 0 / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1158, allocations: 4 kB / 435 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1158, allocations: 0 / 435 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1158, allocations: 0 / 435 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.1161, allocations: 190.5 kB / 435.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.1162, allocations: 96.95 kB / 435.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1162, allocations: 8 kB / 435.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.1163, allocations: 7.984 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.1164, allocations: 15.98 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1164, allocations: 11.94 kB / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.1166, allocations: 220.4 kB / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1166, allocations: 0 / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1169, allocations: 36 kB / 435.5 MB, free: 11.64 MB / 366.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.002005/0.1189, allocations: 1.018 MB / 436.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.1192, allocations: 87.91 kB / 436.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1192, allocations: 0 / 436.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.1193, allocations: 55.84 kB / 436.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1197, allocations: 53.22 kB / 436.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.1224, allocations: 2.19 MB / 438.9 MB, free: 8.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1228, allocations: 0.7358 MB / 439.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.724e-05/0.1229, allocations: 25.53 kB / 439.7 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.123, allocations: 55.42 kB / 439.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.123, allocations: 0 / 439.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.1512, allocations: 5.249 MB / 445 MB, free: 2.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.247, allocations: 9.531 kB / 445 MB, free: 2.191 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --stepSize=0.00199283 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.840006283018738]