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.001737/0.001737, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001895/0.001895, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001522/0.001522, allocations: 55.86 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2334, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003972/0.2374, allocations: 2.592 MB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2388, allocations: 0.7361 MB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.2389, allocations: 4 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.239, allocations: 67.41 kB / 434.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.2393, allocations: 99 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.2397, allocations: 127.8 kB / 434.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.2402, allocations: 450.9 kB / 435.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.2405, allocations: 165.2 kB / 435.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.2408, allocations: 187.4 kB / 435.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.241, allocations: 207.1 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.979e-05/0.2411, allocations: 48 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2412, allocations: 51.98 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.756e-05/0.2413, allocations: 99.69 kB / 435.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.2415, allocations: 179.2 kB / 436 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.2421, allocations: 0.5154 MB / 436.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2421, allocations: 0 / 436.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2421, allocations: 0 / 436.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2421, allocations: 0 / 436.6 MB, free: 1.113 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.001124/0.2432, allocations: 0.6185 MB / 437.2 MB, free: 476 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2432, allocations: 12.03 kB / 437.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.358e-05/0.2433, allocations: 78.72 kB / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.2436, allocations: 60.64 kB / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.2439, allocations: 214.7 kB / 437.5 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.2439, allocations: 37.38 kB / 437.6 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.244, allocations: 48.75 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008525/0.2449, allocations: 0.62 MB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.2449, allocations: 0 / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.2449, allocations: 19.94 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.245, allocations: 16 kB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.2455, allocations: 283.8 kB / 438.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2474, allocations: 1.166 MB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.2479, allocations: 221.3 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.2483, allocations: 168.8 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2483, allocations: 8 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.2483, allocations: 38.55 kB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.2483, allocations: 0 / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001369/0.2497, allocations: 482.4 kB / 440.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.2498, allocations: 239.3 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.2501, allocations: 210.7 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.2501, allocations: 37.7 kB / 441.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.2502, allocations: 196.7 kB / 441.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.2503, allocations: 115 kB / 441.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2504, allocations: 57.7 kB / 441.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2506, allocations: 334.8 kB / 441.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.2507, allocations: 79.89 kB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.2511, allocations: 345.4 kB / 442.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.2514, allocations: 200.2 kB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.2514, allocations: 3.938 kB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004954/0.2519, allocations: 281.1 kB / 442.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.252, allocations: 4 kB / 442.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.252, allocations: 4 kB / 442.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.252, allocations: 8 kB / 442.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.2523, allocations: 79.89 kB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2523, allocations: 0 / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2525, allocations: 35.78 kB / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.2525, allocations: 4 kB / 442.8 MB, free: 10.45 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.0001591/0.2527, allocations: 161.7 kB / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.2527, allocations: 23.86 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.2528, allocations: 30.66 kB / 443 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2528, allocations: 4 kB / 443 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2528, allocations: 4 kB / 443 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2528, allocations: 3.984 kB / 443 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2539, allocations: 0.6923 MB / 443.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2539, allocations: 0 / 443.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.2542, allocations: 51.97 kB / 443.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/0.2545, allocations: 96.67 kB / 443.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.2545, allocations: 4 kB / 443.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.2567, allocations: 1.866 MB / 445.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2567, allocations: 0 / 445.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/0.2575, allocations: 0.4973 MB / 446.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.2576, allocations: 27.92 kB / 446.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.2576, allocations: 8 kB / 446.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2578, allocations: 15.98 kB / 446.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.2578, allocations: 27.89 kB / 446.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2579, allocations: 4 kB / 446.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.258, allocations: 152.6 kB / 446.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 0 / 446.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.2584, allocations: 107.7 kB / 446.6 MB, free: 6.473 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.001131/0.2595, allocations: 1.044 MB / 447.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.26, allocations: 200 kB / 447.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.26, allocations: 0 / 447.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.2604, allocations: 262.5 kB / 448.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.2608, allocations: 38.81 kB / 448.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.2645, allocations: 2.896 MB / 451 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.2647, allocations: 180.8 kB / 451.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.168e-05/0.2648, allocations: 29.94 kB / 451.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2649, allocations: 103.3 kB / 451.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2649, allocations: 0 / 451.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.302, allocations: 6.855 MB / 458.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.84, allocations: 11.94 kB / 458.2 MB, free: 10.87 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.581921000994043]