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.001309/0.001309, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001476/0.001476, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9002/0.9002, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.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 1.313e-06/1.313e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.22e-05, allocations: 8.531 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002378/0.00239, allocations: 2.6 MB / 327.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003489, allocations: 0.74 MB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.003584, allocations: 8 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.799e-05/0.003682, allocations: 67.36 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.003834, allocations: 98.94 kB / 328.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.004161, allocations: 131.7 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.004462, allocations: 454.7 kB / 328.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.004698, allocations: 157.4 kB / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.004965, allocations: 299.3 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.005103, allocations: 135.6 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.005141, allocations: 44 kB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.005208, allocations: 52 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.005256, allocations: 107.6 kB / 329.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.005345, allocations: 155.7 kB / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.00569, allocations: 0.5179 MB / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005692, allocations: 0 / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005692, allocations: 0 / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.005697, allocations: 0 / 330.1 MB, free: 10.39 MB / 298.7 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.0006427/0.00634, allocations: 0.6216 MB / 330.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.006375, allocations: 8.031 kB / 330.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.006432, allocations: 78.72 kB / 330.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.006574, allocations: 56.64 kB / 330.9 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.006772, allocations: 225.9 kB / 331.1 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.006795, allocations: 33.38 kB / 331.1 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.006842, allocations: 48.33 kB / 331.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.007313, allocations: 0.6208 MB / 331.8 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.007325, allocations: 192 / 331.8 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.00735, allocations: 20.12 kB / 331.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.007359, allocations: 12 kB / 331.8 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.007675, allocations: 279.9 kB / 332.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.008754, allocations: 1.159 MB / 333.2 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.009042, allocations: 222.6 kB / 333.5 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.009261, allocations: 168.8 kB / 333.6 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.009278, allocations: 4 kB / 333.6 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.009299, allocations: 38.5 kB / 333.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.102e-06/0.009301, allocations: 0 / 333.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007869/0.01009, allocations: 478.4 kB / 334.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.01016, allocations: 239.3 kB / 334.4 MB, free: 5.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.01029, allocations: 214.7 kB / 334.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.01056, allocations: 41.7 kB / 334.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.01065, allocations: 196.7 kB / 334.8 MB, free: 5.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.0107, allocations: 111.1 kB / 334.9 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.01076, allocations: 65.44 kB / 335 MB, free: 5.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.01084, allocations: 334.8 kB / 335.3 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.01093, allocations: 71.97 kB / 335.4 MB, free: 4.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.0111, allocations: 345.4 kB / 335.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.01131, allocations: 200.7 kB / 335.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01131, allocations: 4 kB / 335.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002696/0.01158, allocations: 273.2 kB / 336.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.0116, allocations: 7.938 kB / 336.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.0116, allocations: 0 / 336.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.01161, allocations: 4 kB / 336.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.01178, allocations: 79.89 kB / 336.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.01179, allocations: 0 / 336.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.01186, allocations: 35.83 kB / 336.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01188, allocations: 8.062 kB / 336.3 MB, free: 3.738 MB / 298.7 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 9.741e-05/0.01197, allocations: 157.7 kB / 336.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.012, allocations: 23.86 kB / 336.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.01204, allocations: 42.5 kB / 336.5 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01204, allocations: 4 kB / 336.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.01205, allocations: 0 / 336.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01205, allocations: 3.938 kB / 336.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.0127, allocations: 0.7049 MB / 337.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.0127, allocations: 0 / 337.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.01283, allocations: 56 kB / 337.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.01304, allocations: 88.8 kB / 337.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.01305, allocations: 8 kB / 337.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.01427, allocations: 1.858 MB / 339.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01427, allocations: 0 / 339.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.01471, allocations: 0.4905 MB / 339.7 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.01473, allocations: 27.78 kB / 339.8 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.01475, allocations: 8 kB / 339.8 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.01483, allocations: 12 kB / 339.8 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.01487, allocations: 27.89 kB / 339.8 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.01488, allocations: 7.984 kB / 339.8 MB, free: 20 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.01497, allocations: 160.6 kB / 340 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01497, allocations: 0 / 340 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01519, allocations: 107.7 kB / 340.1 MB, free: 15.76 MB / 314.7 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.0006385/0.01582, allocations: 1.036 MB / 341.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01609, allocations: 203.7 kB / 341.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01609, allocations: 4.125 kB / 341.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.01642, allocations: 266.5 kB / 341.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.01668, allocations: 31.92 kB / 341.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.01894, allocations: 2.804 MB / 344.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.01904, allocations: 176.8 kB / 344.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.568e-05/0.0191, allocations: 29.92 kB / 344.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.01919, allocations: 104.5 kB / 344.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01919, allocations: 0 / 344.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.03829, allocations: 6.89 MB / 351.6 MB, free: 4.211 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.398, allocations: 7.75 kB / 351.6 MB, free: 4.207 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/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: 9.259671371430159]