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.001373/0.001373, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001458/0.001458, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.392/1.392, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001586/0.001586, allocations: 44.06 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.22, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004025/0.2241, allocations: 2.575 MB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2254, allocations: 0.6894 MB / 425.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.2256, allocations: 8 kB / 425.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2258, allocations: 63.42 kB / 425.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.2261, allocations: 95.05 kB / 426 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.2264, allocations: 123.8 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.2269, allocations: 454.8 kB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.2273, allocations: 161.2 kB / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2275, allocations: 183.4 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.2277, allocations: 175.1 kB / 427.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.911e-05/0.2278, allocations: 47.94 kB / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.2279, allocations: 48 kB / 427.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.228, allocations: 95.73 kB / 427.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.2282, allocations: 175.2 kB / 427.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.2287, allocations: 0.4999 MB / 427.9 MB, free: 9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2287, allocations: 0 / 427.9 MB, free: 9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2287, allocations: 4 kB / 427.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.2287, allocations: 0 / 427.9 MB, free: 8.996 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.001078/0.2298, allocations: 0.6224 MB / 428.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2298, allocations: 8.031 kB / 428.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.901e-05/0.2299, allocations: 82.7 kB / 428.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.23, allocations: 48.66 kB / 428.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.2303, allocations: 222.6 kB / 428.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.2304, allocations: 29.38 kB / 428.9 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/0.2304, allocations: 44.38 kB / 429 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008192/0.2313, allocations: 0.6243 MB / 429.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2313, allocations: 0 / 429.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.2313, allocations: 16 kB / 429.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2313, allocations: 8 kB / 429.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.2318, allocations: 283.9 kB / 429.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.2337, allocations: 1.166 MB / 431.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.2341, allocations: 218 kB / 431.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.2345, allocations: 168.7 kB / 431.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.2345, allocations: 12.42 kB / 431.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.2345, allocations: 38.56 kB / 431.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.2345, allocations: 0 / 431.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001329/0.2359, allocations: 473.9 kB / 432 MB, free: 4.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.236, allocations: 251.2 kB / 432.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.2362, allocations: 203 kB / 432.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.2362, allocations: 33.7 kB / 432.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2364, allocations: 204.6 kB / 432.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.2365, allocations: 115 kB / 432.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.2365, allocations: 57.7 kB / 432.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2367, allocations: 338.8 kB / 433.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.2369, allocations: 79.7 kB / 433.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.2372, allocations: 329.1 kB / 433.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.2375, allocations: 204.2 kB / 433.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2375, allocations: 4 kB / 433.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004865/0.238, allocations: 285.1 kB / 434 MB, free: 2.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.238, allocations: 4 kB / 434 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.238, allocations: 0 / 434 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.238, allocations: 4 kB / 434 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.2384, allocations: 75.89 kB / 434.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.2384, allocations: 8.141 kB / 434.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.2385, allocations: 31.78 kB / 434.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.2386, allocations: 15.97 kB / 434.2 MB, free: 2.348 MB / 334.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.0001625/0.2387, allocations: 149.8 kB / 434.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.2388, allocations: 39.73 kB / 434.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.2388, allocations: 30.66 kB / 434.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2388, allocations: 0 / 434.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2389, allocations: 4 kB / 434.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2389, allocations: 3.984 kB / 434.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2399, allocations: 0.7001 MB / 435.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2399, allocations: 0 / 435.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.2402, allocations: 59.89 kB / 435.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.2405, allocations: 84.75 kB / 435.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2405, allocations: 8 kB / 435.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.2426, allocations: 1.854 MB / 437.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2426, allocations: 0 / 437.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/0.2434, allocations: 0.503 MB / 437.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.2434, allocations: 27.86 kB / 437.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.2435, allocations: 8 kB / 437.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2437, allocations: 16.17 kB / 437.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.2437, allocations: 27.95 kB / 437.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.2437, allocations: 11.94 kB / 437.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.2439, allocations: 148.6 kB / 437.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2439, allocations: 0 / 437.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.2442, allocations: 103.8 kB / 437.9 MB, free: 14.38 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.001102/0.2453, allocations: 1.042 MB / 439 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.2458, allocations: 208 kB / 439.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2458, allocations: 0 / 439.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.2462, allocations: 266.5 kB / 439.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.2466, allocations: 31.98 kB / 439.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.2501, allocations: 2.891 MB / 442.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2503, allocations: 176.8 kB / 442.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.986e-05/0.2504, allocations: 29.92 kB / 442.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.2506, allocations: 103.4 kB / 442.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2506, allocations: 0 / 442.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.2871, allocations: 6.755 MB / 449.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.93, allocations: 23.78 kB / 449.4 MB, free: 2.855 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/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: 14.528968250378966]