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.001867/0.001867, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002651/0.002651, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.002645/0.002645, allocations: 43.92 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3236, allocations: 53.37 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004118/0.3277, allocations: 2.862 MB / 434 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3293, allocations: 0.7789 MB / 434.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3295, allocations: 4 kB / 434.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.3296, allocations: 63.42 kB / 434.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.3299, allocations: 95.06 kB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.3303, allocations: 123.8 kB / 435.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.3308, allocations: 454.8 kB / 435.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.3311, allocations: 165.4 kB / 435.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.3314, allocations: 191.4 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.3316, allocations: 203.2 kB / 436 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.3317, allocations: 51.94 kB / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3318, allocations: 48 kB / 436.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.794e-05/0.3319, allocations: 99.72 kB / 436.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.3321, allocations: 219 kB / 436.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.3327, allocations: 0.5061 MB / 437 MB, free: 1.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3327, allocations: 0 / 437 MB, free: 1.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3327, allocations: 0 / 437 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3327, allocations: 4 kB / 437 MB, free: 1.012 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.001095/0.3338, allocations: 0.6185 MB / 437.6 MB, free: 372 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3338, allocations: 8.031 kB / 437.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.634e-05/0.3339, allocations: 90.7 kB / 437.7 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.3341, allocations: 56.64 kB / 437.7 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.3345, allocations: 210.7 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3345, allocations: 33.38 kB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/0.3346, allocations: 56.25 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.3353, allocations: 451.4 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3353, allocations: 0 / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.3354, allocations: 19.94 kB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3354, allocations: 12 kB / 438.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.3359, allocations: 283.8 kB / 438.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.3379, allocations: 1.259 MB / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.3384, allocations: 223.5 kB / 440.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.3387, allocations: 176.7 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.3387, allocations: 4 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.3388, allocations: 42.55 kB / 440.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.958e-06/0.3388, allocations: 3.984 kB / 440.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0014/0.3402, allocations: 482.4 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.3403, allocations: 239.3 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.3405, allocations: 210.8 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.3406, allocations: 33.7 kB / 441.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3407, allocations: 200.6 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.3408, allocations: 107.1 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3409, allocations: 61.69 kB / 441.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3411, allocations: 334.8 kB / 442.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3412, allocations: 79.89 kB / 442.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.3415, allocations: 153.5 kB / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.3418, allocations: 204.2 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3418, allocations: 0 / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004754/0.3423, allocations: 285 kB / 442.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3423, allocations: 8 kB / 442.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3423, allocations: 3.938 kB / 442.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3423, allocations: 0 / 442.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.3427, allocations: 83.95 kB / 442.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3427, allocations: 4 kB / 442.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.3428, allocations: 31.78 kB / 442.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.3429, allocations: 11.98 kB / 443 MB, free: 10.68 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.0001712/0.343, allocations: 153.8 kB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.3431, allocations: 27.8 kB / 443.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.3432, allocations: 30.66 kB / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3432, allocations: 4 kB / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.3432, allocations: 7.984 kB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3432, allocations: 7.938 kB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3443, allocations: 0.7234 MB / 443.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3443, allocations: 0 / 443.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.3446, allocations: 55.91 kB / 444 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003225/0.3449, allocations: 92.83 kB / 444.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3449, allocations: 4 kB / 444.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.3471, allocations: 1.877 MB / 445.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3471, allocations: 0 / 445.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.3479, allocations: 0.5053 MB / 446.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3479, allocations: 23.8 kB / 446.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.3479, allocations: 8.062 kB / 446.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.3481, allocations: 11.98 kB / 446.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.3482, allocations: 23.95 kB / 446.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.3482, allocations: 7.938 kB / 446.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.3483, allocations: 152.6 kB / 446.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3483, allocations: 0 / 446.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.3487, allocations: 107.7 kB / 446.8 MB, free: 6.664 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.001126/0.3498, allocations: 1.042 MB / 447.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.3503, allocations: 204 kB / 448 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3503, allocations: 0 / 448 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.3507, allocations: 262.5 kB / 448.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3512, allocations: 31.98 kB / 448.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.3549, allocations: 2.898 MB / 451.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.3553, allocations: 0.787 MB / 452 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.3554, allocations: 29.92 kB / 452 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.3556, allocations: 99.41 kB / 452.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3556, allocations: 0 / 452.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.3951, allocations: 6.263 MB / 458.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.41, allocations: 0 / 458.4 MB, free: 11.03 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.21846965900113]