Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 110.4 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 183.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08077/0.08206, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004108/0.08621, allocations: 2.778 MB / 377.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.08778, allocations: 0.7446 MB / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.08805, allocations: 4 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.08831, allocations: 67.36 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.08862, allocations: 95.09 kB / 378.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.08908, allocations: 123.8 kB / 378.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.08962, allocations: 438.8 kB / 378.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.08999, allocations: 228.8 kB / 379.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.09028, allocations: 179.4 kB / 379.3 MB, free: 424 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.09058, allocations: 195.2 kB / 379.5 MB, free: 228 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.09067, allocations: 51.94 kB / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.041e-05/0.09076, allocations: 44 kB / 379.6 MB, free: 132 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.09086, allocations: 95.73 kB / 379.7 MB, free: 36 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1728/0.2637, allocations: 215.9 kB / 379.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.2644, allocations: 0.4923 MB / 380.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2645, allocations: 0 / 380.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2645, allocations: 0 / 380.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.2645, allocations: 0 / 380.4 MB, free: 9.766 MB / 318.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.001165/0.2657, allocations: 0.6941 MB / 381.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2657, allocations: 9.125 kB / 381.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.784e-05/0.2658, allocations: 83.48 kB / 381.1 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.832e-05/0.2659, allocations: 47.59 kB / 381.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.2662, allocations: 283.8 kB / 381.5 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.2663, allocations: 32.56 kB / 381.5 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.2663, allocations: 46.14 kB / 381.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.267, allocations: 450.7 kB / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.2671, allocations: 4.5 kB / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.2671, allocations: 17.19 kB / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2671, allocations: 10.19 kB / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.2677, allocations: 284 kB / 382.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.2698, allocations: 1.289 MB / 383.6 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.2702, allocations: 241.8 kB / 383.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.2706, allocations: 200.2 kB / 384 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2706, allocations: 0 / 384 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2707, allocations: 41.64 kB / 384.1 MB, free: 8.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.2707, allocations: 0 / 384.1 MB, free: 8.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001372/0.272, allocations: 0.5495 MB / 384.6 MB, free: 8.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.2721, allocations: 239.7 kB / 384.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.2723, allocations: 206.8 kB / 385 MB, free: 7.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.2724, allocations: 32.73 kB / 385.1 MB, free: 7.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2725, allocations: 206.7 kB / 385.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.2725, allocations: 103.4 kB / 385.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/0.2726, allocations: 59.36 kB / 385.4 MB, free: 7.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.271e-05/0.2727, allocations: 340.4 kB / 385.8 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2728, allocations: 75.92 kB / 385.8 MB, free: 7.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.273, allocations: 156.3 kB / 386 MB, free: 6.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008284/0.2739, allocations: 362.7 kB / 386.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2739, allocations: 0 / 386.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004799/0.2744, allocations: 286.7 kB / 386.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2744, allocations: 10.28 kB / 386.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2744, allocations: 0 / 386.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.2744, allocations: 2.969 kB / 386.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.2748, allocations: 77.19 kB / 386.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2748, allocations: 2.344 kB / 386.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.275, allocations: 35.67 kB / 386.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.275, allocations: 12.59 kB / 386.8 MB, free: 6.594 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real 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.0003262/0.2754, allocations: 157.3 kB / 386.9 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.2754, allocations: 32.92 kB / 387 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.279e-05/0.2755, allocations: 29.78 kB / 387 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2755, allocations: 2.906 kB / 387 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.2755, allocations: 1.469 kB / 387 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.2756, allocations: 8.719 kB / 387 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.2767, allocations: 0.7648 MB / 387.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2767, allocations: 0 / 387.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.277, allocations: 54.61 kB / 387.8 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.2773, allocations: 90.44 kB / 387.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.2773, allocations: 6.969 kB / 387.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.279, allocations: 1.974 MB / 389.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.279, allocations: 4.062 kB / 389.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.2797, allocations: 0.5012 MB / 390.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.2798, allocations: 106.6 kB / 390.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.2798, allocations: 10.5 kB / 390.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.28, allocations: 15.52 kB / 390.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.2801, allocations: 24.25 kB / 390.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.2801, allocations: 7.516 kB / 390.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2802, allocations: 155 kB / 390.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2802, allocations: 0 / 390.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004318/0.2807, allocations: 113.6 kB / 390.8 MB, free: 3.629 MB / 318.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.0009597/0.2816, allocations: 1.042 MB / 391.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004707/0.2821, allocations: 215 kB / 392.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2821, allocations: 3.938 kB / 392.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.2826, allocations: 278.6 kB / 392.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2829, allocations: 31.39 kB / 392.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.2862, allocations: 2.866 MB / 395.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2865, allocations: 0.7869 MB / 396 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.2866, allocations: 28.48 kB / 396 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.2868, allocations: 101.9 kB / 396.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of SimCode: time 5e-07/0.2868, allocations: 0 / 396.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.3191, allocations: 5.796 MB / 401.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.736/10.06, allocations: 4.969 kB / 401.9 MB, free: 14.46 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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 8e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches