Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001479/0.001479, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00163/0.00163, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.365/1.365, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 378.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2531, allocations: 53.35 MB / 431.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00394/0.257, allocations: 2.592 MB / 434.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2584, allocations: 0.7361 MB / 435.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2585, allocations: 7.938 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2586, allocations: 67.41 kB / 435.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.2588, allocations: 91.06 kB / 435.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.2592, allocations: 131.8 kB / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.2596, allocations: 442.9 kB / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.2599, allocations: 165.4 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.2602, allocations: 195.3 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.2605, allocations: 199.2 kB / 436.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.2605, allocations: 44 kB / 436.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2606, allocations: 59.98 kB / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.2607, allocations: 95.69 kB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.2609, allocations: 183.3 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.2614, allocations: 0.5119 MB / 437.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2614, allocations: 7.938 kB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2614, allocations: 0 / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2615, allocations: 0 / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001041/0.2625, allocations: 0.6146 MB / 438 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2625, allocations: 8.031 kB / 438 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.363e-05/0.2626, allocations: 17.19 kB / 438 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.424e-05/0.2626, allocations: 78.7 kB / 438.1 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.2629, allocations: 64.58 kB / 438.1 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.2632, allocations: 214.7 kB / 438.3 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.2632, allocations: 29.38 kB / 438.4 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.2633, allocations: 48.33 kB / 438.4 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/0.2641, allocations: 0.6202 MB / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2641, allocations: 0 / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.2642, allocations: 20 kB / 439 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.2642, allocations: 12 kB / 439.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.2647, allocations: 291.8 kB / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.2665, allocations: 1.166 MB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.2669, allocations: 223.4 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.2673, allocations: 168.7 kB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2673, allocations: 8 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2674, allocations: 42.55 kB / 440.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.794e-06/0.2674, allocations: 0 / 440.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001344/0.2687, allocations: 486.4 kB / 441.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.2688, allocations: 235.3 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.269, allocations: 210.8 kB / 441.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.2691, allocations: 33.7 kB / 441.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.2692, allocations: 204.6 kB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.2693, allocations: 111.1 kB / 442.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/0.2694, allocations: 57.7 kB / 442.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2695, allocations: 338.8 kB / 442.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.2697, allocations: 75.95 kB / 442.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.27, allocations: 341.4 kB / 443 MB, free: 11.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.2703, allocations: 200.2 kB / 443.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2703, allocations: 0 / 443.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00047/0.2708, allocations: 285.1 kB / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2708, allocations: 4 kB / 443.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2708, allocations: 0 / 443.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2708, allocations: 8.062 kB / 443.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.2711, allocations: 75.89 kB / 443.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2712, allocations: 8.062 kB / 443.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2713, allocations: 35.73 kB / 443.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.2713, allocations: 8 kB / 443.6 MB, free: 10.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * 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.0001512/0.2715, allocations: 157.7 kB / 443.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.2715, allocations: 27.86 kB / 443.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.2716, allocations: 30.59 kB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.2716, allocations: 0 / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2716, allocations: 11.94 kB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2716, allocations: 3.984 kB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.2726, allocations: 0.6962 MB / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2726, allocations: 0 / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.2729, allocations: 59.89 kB / 444.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.2732, allocations: 80.81 kB / 444.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.2732, allocations: 8 kB / 444.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.2752, allocations: 1.858 MB / 446.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2752, allocations: 0 / 446.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.276, allocations: 0.4982 MB / 447 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.276, allocations: 31.92 kB / 447.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.276, allocations: 8 kB / 447.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2762, allocations: 11.98 kB / 447.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.2763, allocations: 28 kB / 447.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2763, allocations: 11.94 kB / 447.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.2764, allocations: 144.6 kB / 447.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2764, allocations: 0 / 447.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.2768, allocations: 111.7 kB / 447.4 MB, free: 6.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.2778, allocations: 1.04 MB / 448.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.2782, allocations: 200.1 kB / 448.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2782, allocations: 4 kB / 448.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.2787, allocations: 258.5 kB / 448.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.2791, allocations: 36.17 kB / 448.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.2825, allocations: 2.896 MB / 451.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.2826, allocations: 180.8 kB / 452 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.99e-05/0.2827, allocations: 29.92 kB / 452 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.2829, allocations: 99.41 kB / 452.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2829, allocations: 3.938 kB / 452.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04962/0.3325, allocations: 6.498 MB / 458.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.99, allocations: 8 kB / 458.6 MB, free: 11.27 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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: 14.533734770026058]