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.001363/0.001363, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001526/0.001526, allocations: 184.2 kB / 23.7 MB, free: 4.191 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.423/1.423, allocations: 225.7 MB / 252.5 MB, free: 12.85 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: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 43.94 kB / 370.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2373, allocations: 52.19 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004092/0.2414, allocations: 2.587 MB / 425.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2427, allocations: 0.6855 MB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2428, allocations: 4 kB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.2429, allocations: 59.42 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.2431, allocations: 99.05 kB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.2435, allocations: 123.8 kB / 426.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.244, allocations: 450.9 kB / 427.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.2443, allocations: 157.4 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.2445, allocations: 191.3 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.2447, allocations: 167.2 kB / 427.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.132e-05/0.2448, allocations: 48 kB / 427.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.2449, allocations: 44 kB / 427.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.245, allocations: 99.67 kB / 427.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.2452, allocations: 187.2 kB / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.2457, allocations: 0.4993 MB / 428.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2457, allocations: 0 / 428.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2457, allocations: 4 kB / 428.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2457, allocations: 0 / 428.4 MB, free: 9.098 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.001115/0.2469, allocations: 0.6185 MB / 429 MB, free: 8.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2469, allocations: 8.031 kB / 429.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.247, allocations: 52.66 kB / 429.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.2473, allocations: 218.6 kB / 429.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.2473, allocations: 29.38 kB / 429.4 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.2474, allocations: 48.36 kB / 429.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.2483, allocations: 0.6128 MB / 430 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2483, allocations: 4 kB / 430 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.2483, allocations: 20 kB / 430 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2483, allocations: 8 kB / 430 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005634/0.2489, allocations: 279.9 kB / 430.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.2507, allocations: 1.1 MB / 431.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.2511, allocations: 219.8 kB / 431.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.2515, allocations: 172.7 kB / 431.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.2515, allocations: 4.438 kB / 431.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.2516, allocations: 38.56 kB / 431.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.2516, allocations: 0 / 431.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001398/0.253, allocations: 477.9 kB / 432.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.2531, allocations: 243.3 kB / 432.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.2533, allocations: 174.8 kB / 432.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2533, allocations: 33.7 kB / 432.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.2535, allocations: 212.5 kB / 433 MB, free: 4.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.2536, allocations: 107.1 kB / 433.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.2537, allocations: 61.7 kB / 433.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2538, allocations: 330.8 kB / 433.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.254, allocations: 75.72 kB / 433.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.2543, allocations: 333.1 kB / 433.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.2546, allocations: 208.2 kB / 434 MB, free: 3.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2546, allocations: 0 / 434 MB, free: 3.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004757/0.2551, allocations: 273.1 kB / 434.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2551, allocations: 15.92 kB / 434.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2551, allocations: 0 / 434.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.2552, allocations: 4 kB / 434.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.2555, allocations: 79.83 kB / 434.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2555, allocations: 4.062 kB / 434.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.2557, allocations: 39.78 kB / 434.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2557, allocations: 8 kB / 434.5 MB, free: 2.656 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.0001526/0.2559, allocations: 149.8 kB / 434.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.2559, allocations: 23.84 kB / 434.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.054e-05/0.256, allocations: 30.64 kB / 434.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.256, allocations: 7.984 kB / 434.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.256, allocations: 0 / 434.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.256, allocations: 0 / 434.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.257, allocations: 0.6576 MB / 435.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.257, allocations: 0 / 435.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.2573, allocations: 55.91 kB / 435.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/0.2576, allocations: 88.8 kB / 435.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2576, allocations: 4 kB / 435.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.2598, allocations: 1.835 MB / 437.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2598, allocations: 0 / 437.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008963/0.2607, allocations: 0.4992 MB / 437.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2607, allocations: 23.8 kB / 437.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.2608, allocations: 8.062 kB / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.2609, allocations: 8 kB / 437.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.261, allocations: 32 kB / 437.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.261, allocations: 4 kB / 437.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.2611, allocations: 132.8 kB / 438 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2611, allocations: 0 / 438 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.2615, allocations: 111.7 kB / 438.1 MB, free: 14.82 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.0001393/0.2617, allocations: 107.2 kB / 438.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.2621, allocations: 199.7 kB / 438.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2621, allocations: 4.125 kB / 438.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.2626, allocations: 270.4 kB / 438.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.263, allocations: 39.98 kB / 438.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.2643, allocations: 0.8463 MB / 439.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.2645, allocations: 180.8 kB / 439.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.09e-05/0.2646, allocations: 25.92 kB / 439.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.2647, allocations: 19.44 kB / 439.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2647, allocations: 0 / 439.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Templates: time 0.007713/0.2724, allocations: 3.466 MB / 443.3 MB, free: 9.637 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 4.485334562137723]