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.0009638/0.0009638, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008607/0.0008607, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9337/0.9337, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 2.073e-06/2.073e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.445e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003277/0.003301, allocations: 2.605 MB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.004885, allocations: 0.7399 MB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004999, allocations: 4 kB / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.005104, allocations: 63.42 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.005288, allocations: 107 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.005674, allocations: 127.7 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.006112, allocations: 462.6 kB / 328.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.006381, allocations: 149.4 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.006863, allocations: 291.4 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.007076, allocations: 147.5 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.007136, allocations: 48 kB / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.007241, allocations: 52 kB / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.007307, allocations: 99.69 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.007434, allocations: 155.7 kB / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.007958, allocations: 0.5179 MB / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.007964, allocations: 0 / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007965, allocations: 0 / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.007976, allocations: 0 / 330 MB, free: 10.33 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.0009812/0.008958, allocations: 0.6185 MB / 330.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.009013, allocations: 15.98 kB / 330.7 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.309e-05/0.009087, allocations: 78.72 kB / 330.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.009285, allocations: 60.64 kB / 330.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.009561, allocations: 217.9 kB / 331 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.009589, allocations: 37.38 kB / 331.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.009644, allocations: 44.33 kB / 331.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.01022, allocations: 0.6169 MB / 331.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01023, allocations: 4.172 kB / 331.7 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.01026, allocations: 24.06 kB / 331.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.01027, allocations: 12 kB / 331.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.01061, allocations: 279.9 kB / 332 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.01187, allocations: 1.155 MB / 333.2 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.0122, allocations: 215.3 kB / 333.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.01244, allocations: 176.8 kB / 333.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.01246, allocations: 7.938 kB / 333.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.01248, allocations: 34.56 kB / 333.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.01249, allocations: 0 / 333.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001245/0.01373, allocations: 479.1 kB / 334.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.01384, allocations: 243.3 kB / 334.3 MB, free: 5.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.01403, allocations: 218.7 kB / 334.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.01406, allocations: 29.7 kB / 334.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.01417, allocations: 204.7 kB / 334.8 MB, free: 5.281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.01423, allocations: 107.1 kB / 334.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.01431, allocations: 65.44 kB / 334.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.01441, allocations: 334.8 kB / 335.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.01452, allocations: 75.97 kB / 335.3 MB, free: 4.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.01473, allocations: 336.8 kB / 335.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.01498, allocations: 208.6 kB / 335.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.01499, allocations: 0 / 335.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003131/0.0153, allocations: 281.2 kB / 336.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01532, allocations: 11.94 kB / 336.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01532, allocations: 0 / 336.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01534, allocations: 0 / 336.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.01552, allocations: 83.89 kB / 336.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01553, allocations: 4 kB / 336.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.01562, allocations: 27.83 kB / 336.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01564, allocations: 8 kB / 336.3 MB, free: 3.668 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.000119/0.01576, allocations: 157.8 kB / 336.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.01578, allocations: 23.86 kB / 336.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.01583, allocations: 38.58 kB / 336.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01583, allocations: 4 kB / 336.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.01584, allocations: 4 kB / 336.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01584, allocations: 0 / 336.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.01653, allocations: 0.7001 MB / 337.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.01654, allocations: 4 kB / 337.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.01667, allocations: 51.94 kB / 337.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.0169, allocations: 88.8 kB / 337.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.01692, allocations: 4 kB / 337.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.01846, allocations: 1.858 MB / 339.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.01847, allocations: 7.969 kB / 339.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.01896, allocations: 0.494 MB / 339.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.01899, allocations: 27.78 kB / 339.7 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.01902, allocations: 8.109 kB / 339.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.0191, allocations: 11.98 kB / 339.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.01915, allocations: 23.91 kB / 339.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01917, allocations: 16.12 kB / 339.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.617e-05/0.01925, allocations: 148.7 kB / 339.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01925, allocations: 4 kB / 339.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.01953, allocations: 115.7 kB / 340 MB, free: 15.68 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.0009372/0.02046, allocations: 1.035 MB / 341.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.02075, allocations: 195.8 kB / 341.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.02075, allocations: 0 / 341.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.02105, allocations: 270.6 kB / 341.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.02136, allocations: 31.92 kB / 341.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.02361, allocations: 2.795 MB / 344.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.02373, allocations: 180.8 kB / 344.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.02381, allocations: 25.95 kB / 344.6 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.944e-05/0.02391, allocations: 104.5 kB / 344.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02391, allocations: 0 / 344.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.0448, allocations: 6.887 MB / 351.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.138, allocations: 15.3 kB / 351.6 MB, free: 4.113 MB / 314.7 MB " [Timeout remaining time 653] (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/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_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: 9.05049951840192]