Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.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.001112/0.001112, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.00104/0.00104, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.908/0.908, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.317e-05, allocations: 6.219 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.004669/0.004692, allocations: 5.871 MB / 330.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.007765, allocations: 1.679 MB / 332.2 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/0.00856, allocations: 27.88 kB / 332.2 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006657/0.009226, allocations: 250 kB / 332.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.01062, allocations: 0.539 MB / 333 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.01164, allocations: 467.2 kB / 333.4 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005166/0.0168, allocations: 8.002 MB / 341.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.01884, allocations: 1.539 MB / 343 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005906/0.02475, allocations: 4.044 MB / 347 MB, free: 9.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/0.02916, allocations: 2.771 MB / 349.8 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.03103, allocations: 0.6641 MB / 350.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.03272, allocations: 0.6562 MB / 351.1 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.03405, allocations: 1.624 MB / 352.7 MB, free: 3.609 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003748/0.0378, allocations: 2.152 MB / 354.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006628/0.04442, allocations: 8.536 MB / 363.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.04443, allocations: 4 kB / 363.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.04443, allocations: 0 / 363.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000306/0.04474, allocations: 0 / 363.4 MB, free: 8.891 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.01088/0.05562, allocations: 5.909 MB / 369.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.05567, allocations: 12.03 kB / 369.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009322/0.0566, allocations: 0.5841 MB / 369.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.05762, allocations: 0.5484 MB / 370.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.06146, allocations: 2.677 MB / 373.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.06163, allocations: 324.4 kB / 373.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007542/0.06238, allocations: 444.2 kB / 373.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009186/0.07157, allocations: 8.072 MB / 382 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.915e-05/0.07163, allocations: 192 / 382 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/0.07194, allocations: 180.1 kB / 382.2 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.07208, allocations: 200.5 kB / 382.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008073/0.08016, allocations: 5.541 MB / 387.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02563/0.1058, allocations: 16.94 MB / 404.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005233/0.111, allocations: 4.336 MB / 409.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/0.1141, allocations: 3.342 MB / 412.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.473e-05/0.1142, allocations: 38.81 kB / 412.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.356e-05/0.1143, allocations: 89.81 kB / 412.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=358): time 5.15e-06/0.1143, allocations: 3.938 kB / 412.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=358): time 0.007384/0.1217, allocations: 5.912 MB / 418.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.1218, allocations: 295.8 kB / 418.8 MB, free: 284 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/0.1263, allocations: 3.232 MB / 422.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004246/0.1267, allocations: 105.7 kB / 422.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009083/0.1276, allocations: 1.711 MB / 423.9 MB, free: 11.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.1287, allocations: 1.305 MB / 425.2 MB, free: 9.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008095/0.1295, allocations: 0.6536 MB / 425.8 MB, free: 9.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.1296, allocations: 301.1 kB / 426.1 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/0.1322, allocations: 2.123 MB / 428.3 MB, free: 6.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.1347, allocations: 2.652 MB / 430.9 MB, free: 4.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/0.1461, allocations: 8.934 MB / 439.8 MB, free: 11.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.1461, allocations: 0 / 439.8 MB, free: 11.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.00658/0.1527, allocations: 5.603 MB / 445.4 MB, free: 5.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.1527, allocations: 8 kB / 445.5 MB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1527, allocations: 4 kB / 445.5 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.1534, allocations: 335 kB / 445.8 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.1553, allocations: 0.9205 MB / 446.7 MB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1633/0.3186, allocations: 7.351 MB / 454.1 MB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.3211, allocations: 410.9 kB / 454.5 MB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.3214, allocations: 105.7 kB / 454.6 MB, free: 109.8 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: oLine1.i[8] = 0.0 oLine2.i[8] = 0.0 oLine3.i[8] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (453): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002111/0.3235, allocations: 1.412 MB / 456 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006483/0.3241, allocations: 350 kB / 456.3 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.3245, allocations: 456.3 kB / 456.8 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.3245, allocations: 38.56 kB / 456.8 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.3246, allocations: 4.594 kB / 456.8 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.3246, allocations: 17.95 kB / 456.8 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009821/0.3344, allocations: 11.36 MB / 468.2 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.3344, allocations: 16 kB / 468.2 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.3361, allocations: 0.8125 MB / 469 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/0.3365, allocations: 279.8 kB / 469.3 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.3367, allocations: 131.1 kB / 469.4 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.3397, allocations: 10.26 MB / 479.7 MB, free: 92.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.3397, allocations: 19.88 kB / 479.7 MB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005583/0.3453, allocations: 7.12 MB / 486.8 MB, free: 85.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009682/0.3463, allocations: 0.4973 MB / 487.3 MB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.3466, allocations: 127.9 kB / 487.4 MB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.3481, allocations: 411.6 kB / 487.8 MB, free: 84.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.3483, allocations: 297.5 kB / 488.1 MB, free: 84.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.3485, allocations: 126.6 kB / 488.2 MB, free: 84.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001903/0.3504, allocations: 2.275 MB / 490.5 MB, free: 81.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3504, allocations: 0 / 490.5 MB, free: 81.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002258/0.3526, allocations: 1.335 MB / 491.8 MB, free: 80.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 57 (oLine1.L[1].i,oLine1.L[2].i,oLine1.L[3].i,oLine1.L[4].i,oLine1.L[5].i,oLine1.L[6].i,oLine1.L[7].i,oLine1.L[8].i,oLine1.C[1].v,oLine1.C[2].v,oLine1.C[3].v,oLine1.C[4].v,oLine1.C[5].v,oLine1.C[6].v,oLine1.C[7].v,oLine2.L[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.L[8].i,oLine2.C[1].v,oLine2.C[2].v,oLine2.C[3].v,oLine2.C[4].v,oLine2.C[5].v,oLine2.C[6].v,oLine2.C[7].v,oLine3.L[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.L[8].i,oLine3.C[1].v,oLine3.C[2].v,oLine3.C[3].v,oLine3.C[4].v,oLine3.C[5].v,oLine3.C[6].v,oLine3.C[7].v,oLine4.L[2].i,oLine4.L[3].i,oLine4.L[4].i,oLine4.L[5].i,oLine4.L[6].i,oLine4.L[7].i,oLine4.L[8].i,oLine4.C[1].v,oLine4.C[2].v,oLine4.C[3].v,oLine4.C[4].v,oLine4.C[5].v,oLine4.C[6].v,oLine4.C[7].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 335 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005122/0.3577, allocations: 7.856 MB / 499.7 MB, free: 72.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.3618, allocations: 4.943 MB / 0.4928 GB, free: 67.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/0.3618, allocations: 6.656 kB / 0.4928 GB, free: 67.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.364, allocations: 3.229 MB / 0.496 GB, free: 63.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.3662, allocations: 0.8047 MB / 0.4968 GB, free: 63.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0339/0.4001, allocations: 37.14 MB / 0.533 GB, free: 25.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.402, allocations: 2.683 MB / 0.5357 GB, free: 22.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00216/0.4041, allocations: 1.293 MB / 0.5369 GB, free: 21.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.4054, allocations: 1.602 MB / 0.5385 GB, free: 19.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.4054, allocations: 0 / 0.5385 GB, free: 19.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09855/0.5039, allocations: 83.02 MB / 0.6196 GB, free: 1.656 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.435/9.939, allocations: 7.984 kB / 0.6196 GB, free: 1.648 MB / 474.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks_fmu --startTime=0 --stopTime=0.004 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLineTrunks/CompareLineTrunks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.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: 11.88510315772146]