Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.855/0.855, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 318.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.743e-05, allocations: 5.516 kB / 318.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003557/0.003574, allocations: 2.568 MB / 321 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.004992, allocations: 0.6892 MB / 321.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.005185, allocations: 8 kB / 321.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.005325, allocations: 67.36 kB / 321.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.005605, allocations: 99 kB / 321.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.005993, allocations: 131.7 kB / 322 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.006489, allocations: 458.6 kB / 322.4 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.006769, allocations: 157.4 kB / 322.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.007143, allocations: 283.5 kB / 322.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.00735, allocations: 135.6 kB / 323 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.007419, allocations: 44 kB / 323 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.007475, allocations: 48 kB / 323.1 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.007547, allocations: 107.6 kB / 323.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.007681, allocations: 151.6 kB / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.008159, allocations: 0.5139 MB / 323.8 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.008162, allocations: 4 kB / 323.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008163, allocations: 0 / 323.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.008175, allocations: 0 / 323.9 MB, free: 0.7734 MB / 282.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.00102/0.009195, allocations: 0.6178 MB / 324.5 MB, free: 132 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.009242, allocations: 8.922 kB / 324.5 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.446e-05/0.009336, allocations: 90.7 kB / 324.6 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.009432, allocations: 44.7 kB / 324.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.009733, allocations: 209.9 kB / 324.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.009764, allocations: 33.38 kB / 324.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.009831, allocations: 44.38 kB / 324.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007582/0.01059, allocations: 0.6208 MB / 325.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.01061, allocations: 8.141 kB / 325.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.01065, allocations: 20.12 kB / 325.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.01066, allocations: 11.98 kB / 325.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.01124, allocations: 291.8 kB / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.01307, allocations: 1.151 MB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.01352, allocations: 222.6 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.01381, allocations: 193.3 kB / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01383, allocations: 4 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.01385, allocations: 30.56 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.01385, allocations: 0 / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008339/0.01469, allocations: 474.4 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.01477, allocations: 235.3 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.0149, allocations: 211.1 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.01492, allocations: 33.7 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.01502, allocations: 204.6 kB / 328.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.01507, allocations: 103.1 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.01513, allocations: 57.7 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.01522, allocations: 342.8 kB / 329.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.01532, allocations: 75.95 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.01551, allocations: 337.7 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.01572, allocations: 195.3 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01572, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002897/0.01601, allocations: 281.1 kB / 329.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01603, allocations: 12 kB / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01603, allocations: 0 / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01605, allocations: 4 kB / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.01623, allocations: 79.89 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.01624, allocations: 0 / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.01633, allocations: 43.72 kB / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.01634, allocations: 7.984 kB / 330.1 MB, free: 10.13 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 0.0001058/0.01644, allocations: 153.8 kB / 330.2 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.01647, allocations: 23.86 kB / 330.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.01652, allocations: 38.59 kB / 330.3 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01652, allocations: 4 kB / 330.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.01653, allocations: 0 / 330.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01653, allocations: 7.922 kB / 330.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.0172, allocations: 0.7038 MB / 331 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01721, allocations: 0 / 331 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.01734, allocations: 51.95 kB / 331 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/0.01755, allocations: 84.75 kB / 331.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01756, allocations: 12.03 kB / 331.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.01885, allocations: 1.85 MB / 333 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01885, allocations: 0 / 333 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.01933, allocations: 0.506 MB / 333.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.01935, allocations: 27.78 kB / 333.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.01937, allocations: 8.062 kB / 333.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.01945, allocations: 15.98 kB / 333.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.01951, allocations: 23.95 kB / 333.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01952, allocations: 4 kB / 333.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.466e-05/0.0196, allocations: 152.6 kB / 333.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.0196, allocations: 0 / 333.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.01985, allocations: 111.7 kB / 333.8 MB, free: 6.156 MB / 298.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.0007363/0.02059, allocations: 1.05 MB / 334.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.02088, allocations: 199.8 kB / 335.1 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02088, allocations: 3.938 kB / 335.1 MB, free: 4.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.0212, allocations: 262.5 kB / 335.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.02149, allocations: 47.95 kB / 335.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.02377, allocations: 2.799 MB / 338.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.02389, allocations: 176.8 kB / 338.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.857e-05/0.02396, allocations: 21.94 kB / 338.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.02407, allocations: 108.5 kB / 338.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02408, allocations: 0 / 338.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.04963, allocations: 6.887 MB / 345.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.281, allocations: 8 kB / 345.4 MB, free: 10.6 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.070841119624674]