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.001676/0.001676, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002086/0.002086, allocations: 212 kB / 23.73 MB, free: 4.387 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.486/1.486, allocations: 230.6 MB / 257.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 43.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2416, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004406/0.246, allocations: 2.596 MB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2476, allocations: 0.7361 MB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.2479, allocations: 8 kB / 434.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.2482, allocations: 67.34 kB / 434.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.2486, allocations: 87.12 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.2491, allocations: 131.7 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006861/0.2498, allocations: 446.9 kB / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.2501, allocations: 157.2 kB / 435.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.2505, allocations: 195.4 kB / 435.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.2509, allocations: 175.1 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-05/0.251, allocations: 44 kB / 435.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.2511, allocations: 52 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2512, allocations: 99.69 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.2515, allocations: 187.2 kB / 436 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.2521, allocations: 0.5037 MB / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2521, allocations: 0 / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2521, allocations: 0 / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.2521, allocations: 0 / 436.5 MB, free: 1.16 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.001237/0.2534, allocations: 0.6185 MB / 437.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2534, allocations: 8.031 kB / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.2535, allocations: 86.64 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.2538, allocations: 60.64 kB / 437.3 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.2541, allocations: 218.6 kB / 437.5 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.975e-05/0.2542, allocations: 33.38 kB / 437.5 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.092e-05/0.2542, allocations: 48.33 kB / 437.6 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/0.2552, allocations: 0.6204 MB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2552, allocations: 0 / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.2552, allocations: 16 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2552, allocations: 8 kB / 438.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.2558, allocations: 283.9 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.2579, allocations: 1.17 MB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.2583, allocations: 223.5 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.2587, allocations: 176.8 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2588, allocations: 3.938 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.2588, allocations: 34.56 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.864e-06/0.2588, allocations: 0 / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001419/0.2602, allocations: 478.4 kB / 440.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.2604, allocations: 243.2 kB / 440.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.2606, allocations: 218.8 kB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.2606, allocations: 37.69 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2608, allocations: 192.7 kB / 441.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2609, allocations: 111.1 kB / 441.4 MB, free: 12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.261, allocations: 57.7 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2611, allocations: 338.8 kB / 441.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2613, allocations: 75.95 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.2616, allocations: 333.5 kB / 442.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.262, allocations: 204.2 kB / 442.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.262, allocations: 4 kB / 442.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000509/0.2625, allocations: 285 kB / 442.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2625, allocations: 7.938 kB / 442.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2625, allocations: 0 / 442.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2626, allocations: 4 kB / 442.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.2629, allocations: 75.89 kB / 442.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2629, allocations: 4 kB / 442.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2631, allocations: 35.84 kB / 442.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.2631, allocations: 11.98 kB / 442.8 MB, free: 10.49 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.0001754/0.2633, allocations: 153.8 kB / 442.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.2634, allocations: 35.78 kB / 442.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.415e-05/0.2634, allocations: 30.66 kB / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2634, allocations: 7.938 kB / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.2635, allocations: 3.984 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.2635, allocations: 0 / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.2646, allocations: 0.6923 MB / 443.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.2646, allocations: 8.016 kB / 443.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.2649, allocations: 55.91 kB / 443.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.2652, allocations: 80.81 kB / 443.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.2652, allocations: 11.98 kB / 443.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.2674, allocations: 1.854 MB / 445.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2674, allocations: 112 / 445.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.2682, allocations: 0.4934 MB / 446.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.2682, allocations: 27.86 kB / 446.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.2683, allocations: 8 kB / 446.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2685, allocations: 11.98 kB / 446.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.2685, allocations: 27.95 kB / 446.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.2685, allocations: 12 kB / 446.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.2687, allocations: 148.6 kB / 446.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2687, allocations: 0 / 446.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.2691, allocations: 111.7 kB / 446.5 MB, free: 6.52 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.001178/0.2703, allocations: 1.037 MB / 447.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.2707, allocations: 200.1 kB / 447.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2707, allocations: 4 kB / 447.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.2712, allocations: 258.5 kB / 448 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.2716, allocations: 35.14 kB / 448 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.2756, allocations: 2.912 MB / 451 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2758, allocations: 176.8 kB / 451.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.2759, allocations: 29.92 kB / 451.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.276, allocations: 111.3 kB / 451.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.276, allocations: 0 / 451.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.3154, allocations: 6.754 MB / 458 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.89, allocations: 10.41 kB / 458 MB, free: 11.01 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.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_4.1.0_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.629866992123425]