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.001705/0.001705, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002106/0.002106, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.513/1.513, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001539/0.001539, allocations: 55.91 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1045, allocations: 53.32 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004758/0.1092, allocations: 2.858 MB / 429.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.111, allocations: 0.7711 MB / 429.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1112, allocations: 8 kB / 429.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.1113, allocations: 59.36 kB / 430 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1116, allocations: 91.12 kB / 430.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.112, allocations: 131.7 kB / 430.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.1125, allocations: 454.8 kB / 430.7 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.1128, allocations: 160.9 kB / 430.8 MB, free: 256 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.1131, allocations: 187.4 kB / 431 MB, free: 68 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2094/0.3225, allocations: 200.8 kB / 431.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.3226, allocations: 45.91 kB / 431.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.3228, allocations: 57.12 kB / 431.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.3229, allocations: 98.61 kB / 431.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3231, allocations: 218.6 kB / 431.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.3237, allocations: 0.5033 MB / 432.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3237, allocations: 0.7812 kB / 432.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3237, allocations: 0.9688 kB / 432.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3237, allocations: 0.75 kB / 432.1 MB, free: 7.867 MB / 350.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.001064/0.3248, allocations: 0.7007 MB / 432.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3248, allocations: 10.03 kB / 432.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.502e-05/0.3249, allocations: 82.22 kB / 432.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.3251, allocations: 57.45 kB / 433 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3254, allocations: 276.3 kB / 433.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.3254, allocations: 32.38 kB / 433.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.3255, allocations: 42.75 kB / 433.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.3262, allocations: 455.8 kB / 433.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3262, allocations: 4.703 kB / 433.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.3262, allocations: 17.5 kB / 433.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.3262, allocations: 11.56 kB / 433.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.3267, allocations: 288.4 kB / 434.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.3284, allocations: 1.299 MB / 435.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.3289, allocations: 219.1 kB / 435.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.3292, allocations: 181.8 kB / 435.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3293, allocations: 3.484 kB / 435.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3293, allocations: 38.45 kB / 435.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.3293, allocations: 1.281 kB / 435.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001386/0.3307, allocations: 0.5504 MB / 436.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3307, allocations: 237.2 kB / 436.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.3309, allocations: 206.3 kB / 436.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3309, allocations: 31.89 kB / 436.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.331, allocations: 209.1 kB / 437 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.3311, allocations: 105.2 kB / 437.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.3312, allocations: 62.25 kB / 437.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.3312, allocations: 333.3 kB / 437.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.3314, allocations: 77.62 kB / 437.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3316, allocations: 154.1 kB / 437.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.3319, allocations: 198.7 kB / 437.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3319, allocations: 3.062 kB / 437.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004514/0.3323, allocations: 280.9 kB / 438.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3324, allocations: 5.438 kB / 438.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3324, allocations: 2.891 kB / 438.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3324, allocations: 2.969 kB / 438.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.3327, allocations: 82.16 kB / 438.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3327, allocations: 2.875 kB / 438.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3329, allocations: 34.3 kB / 438.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.333, allocations: 12.5 kB / 438.3 MB, free: 4.836 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.0001443/0.3331, allocations: 155.2 kB / 438.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.3332, allocations: 28.55 kB / 438.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.31e-05/0.3332, allocations: 30.75 kB / 438.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3332, allocations: 2.031 kB / 438.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.3332, allocations: 2.219 kB / 438.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3332, allocations: 6.562 kB / 438.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3343, allocations: 0.7589 MB / 439.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3343, allocations: 4.781 kB / 439.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.3346, allocations: 54.64 kB / 439.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/0.3349, allocations: 86.17 kB / 439.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.3349, allocations: 7.172 kB / 439.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.3365, allocations: 1.977 MB / 441.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3365, allocations: 1.531 kB / 441.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.3373, allocations: 0.4976 MB / 441.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.3373, allocations: 105.6 kB / 442 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.3374, allocations: 7.688 kB / 442.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3375, allocations: 12.75 kB / 442.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.3376, allocations: 25.22 kB / 442.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3376, allocations: 9.969 kB / 442.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3378, allocations: 150.9 kB / 442.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3378, allocations: 0 / 442.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004303/0.3382, allocations: 109.8 kB / 442.4 MB, free: 1.887 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.0009098/0.3391, allocations: 1.043 MB / 443.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.3396, allocations: 204.3 kB / 443.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3396, allocations: 0.625 kB / 443.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.3401, allocations: 265.9 kB / 443.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.3405, allocations: 39.06 kB / 443.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.3443, allocations: 2.901 MB / 446.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3447, allocations: 0.7843 MB / 447.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.3448, allocations: 27.8 kB / 447.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.345, allocations: 103.6 kB / 447.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.345, allocations: 0 / 447.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.3822, allocations: 6.034 MB / 453.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.91, allocations: 15.7 kB / 453.8 MB, free: 13.15 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.702272349008126]