Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001637/0.001637, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001956/0.001956, allocations: 213 kB / 23.73 MB, free: 4.164 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.91 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2287, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004155/0.2328, allocations: 2.596 MB / 433.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2344, allocations: 0.7283 MB / 434.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2345, allocations: 8 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.2347, allocations: 63.36 kB / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.2349, allocations: 95.11 kB / 434.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.2353, allocations: 131.7 kB / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.2357, allocations: 450.9 kB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.236, allocations: 157.2 kB / 435.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.2363, allocations: 187.4 kB / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.2365, allocations: 175.1 kB / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.2366, allocations: 44 kB / 435.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2367, allocations: 59.94 kB / 435.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.2368, allocations: 91.75 kB / 435.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.237, allocations: 187.2 kB / 436.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006266/0.2376, allocations: 0.5115 MB / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2376, allocations: 0 / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2376, allocations: 0 / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2376, allocations: 0 / 436.6 MB, free: 0.9883 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.001112/0.2387, allocations: 0.6224 MB / 437.2 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2387, allocations: 15.98 kB / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.42e-05/0.2388, allocations: 74.72 kB / 437.3 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.2391, allocations: 60.64 kB / 437.4 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.2395, allocations: 222.6 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.2395, allocations: 29.38 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.2396, allocations: 44.33 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008602/0.2404, allocations: 0.6204 MB / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2405, allocations: 0 / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.2405, allocations: 24 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2405, allocations: 12 kB / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.241, allocations: 283.9 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.243, allocations: 1.17 MB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.2435, allocations: 217.7 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.2438, allocations: 173.3 kB / 440.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.2439, allocations: 8 kB / 440.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.2439, allocations: 42.5 kB / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.2439, allocations: 0 / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001376/0.2453, allocations: 483.2 kB / 440.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.2454, allocations: 243.2 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.2456, allocations: 214.7 kB / 441.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.2457, allocations: 29.7 kB / 441.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.2458, allocations: 200.7 kB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/0.2459, allocations: 111.1 kB / 441.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.246, allocations: 57.7 kB / 441.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2462, allocations: 330.8 kB / 441.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.2464, allocations: 83.97 kB / 441.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.2468, allocations: 336.8 kB / 442.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.2472, allocations: 200.2 kB / 442.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2472, allocations: 0 / 442.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005661/0.2478, allocations: 281 kB / 442.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2478, allocations: 8 kB / 442.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2478, allocations: 4.062 kB / 442.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2478, allocations: 0 / 442.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.2482, allocations: 83.89 kB / 442.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2482, allocations: 4 kB / 442.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.2484, allocations: 27.78 kB / 442.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2484, allocations: 12 kB / 442.8 MB, free: 10.32 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.0002094/0.2486, allocations: 149.8 kB / 443 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.2487, allocations: 31.78 kB / 443 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.2487, allocations: 26.66 kB / 443 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.2487, allocations: 8 kB / 443 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.2487, allocations: 4 kB / 443 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2488, allocations: 3.984 kB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.2499, allocations: 0.7 MB / 443.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.25, allocations: 4 kB / 443.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.2502, allocations: 47.91 kB / 443.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/0.2505, allocations: 92.8 kB / 443.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.2505, allocations: 12.02 kB / 443.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.2528, allocations: 1.854 MB / 445.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2528, allocations: 0 / 445.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.2537, allocations: 0.498 MB / 446.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.2537, allocations: 23.8 kB / 446.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.2538, allocations: 12.06 kB / 446.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.2539, allocations: 8 kB / 446.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.254, allocations: 27.88 kB / 446.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.254, allocations: 11.94 kB / 446.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.2542, allocations: 148.6 kB / 446.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2542, allocations: 0 / 446.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.2546, allocations: 115.7 kB / 446.6 MB, free: 6.348 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.001236/0.2558, allocations: 1.043 MB / 447.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.2563, allocations: 195.8 kB / 447.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2563, allocations: 0 / 447.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.2568, allocations: 262.5 kB / 448.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.2573, allocations: 38.98 kB / 448.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.2613, allocations: 2.904 MB / 451 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.2615, allocations: 180.8 kB / 451.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.2616, allocations: 29.92 kB / 451.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.2618, allocations: 99.41 kB / 451.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2618, allocations: 0 / 451.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/0.318, allocations: 6.753 MB / 458.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.97, allocations: 7.422 kB / 458.1 MB, free: 10.81 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.9984e-05 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:time,C1.vinternal,C2.vinternal,L1.iinternal,L2.iinternal,L3.iinternal [Calling sys.exit(0), Time elapsed: 14.670373237226158]