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.001471/0.001471, allocations: 108.8 kB / 21.19 MB, free: 0.7578 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.001501/0.001501, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.407/1.407, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.002114/0.002114, allocations: 48.06 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2348, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003891/0.2386, allocations: 2.867 MB / 426.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2398, allocations: 0.7128 MB / 427.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2399, allocations: 4 kB / 427.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.2401, allocations: 71.34 kB / 427.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.2403, allocations: 95.06 kB / 427.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.2406, allocations: 127.8 kB / 427.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.2411, allocations: 442.9 kB / 428.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.2414, allocations: 173.4 kB / 428.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.2417, allocations: 175.4 kB / 428.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.242, allocations: 211.1 kB / 428.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.242, allocations: 44 kB / 428.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.2421, allocations: 48 kB / 428.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.2422, allocations: 95.69 kB / 428.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.2424, allocations: 219 kB / 429.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.2429, allocations: 0.4992 MB / 429.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2429, allocations: 7.938 kB / 429.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2429, allocations: 0 / 429.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.2429, allocations: 0 / 429.6 MB, free: 8.91 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.001142/0.2441, allocations: 0.6223 MB / 430.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2441, allocations: 8.031 kB / 430.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.39e-05/0.2442, allocations: 48.66 kB / 430.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.2445, allocations: 223.3 kB / 430.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.2446, allocations: 29.38 kB / 430.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.2446, allocations: 48.31 kB / 430.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/0.2454, allocations: 451.6 kB / 431 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.2454, allocations: 4 kB / 431 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.2455, allocations: 19.94 kB / 431.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2455, allocations: 11.98 kB / 431.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.246, allocations: 279.9 kB / 431.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.248, allocations: 1.263 MB / 432.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.2484, allocations: 215.9 kB / 432.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.2488, allocations: 172.7 kB / 433 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2488, allocations: 0.5 kB / 433 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.2489, allocations: 42.56 kB / 433 MB, free: 5.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.2489, allocations: 0 / 433 MB, free: 5.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001364/0.2502, allocations: 481.9 kB / 433.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.2504, allocations: 239.3 kB / 433.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.2506, allocations: 207 kB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.2507, allocations: 33.7 kB / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2508, allocations: 200.6 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.2509, allocations: 115 kB / 434.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/0.251, allocations: 61.7 kB / 434.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2511, allocations: 334.8 kB / 434.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2513, allocations: 79.91 kB / 434.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.2515, allocations: 156.9 kB / 434.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.2519, allocations: 200.2 kB / 435.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2519, allocations: 4 kB / 435.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000473/0.2523, allocations: 277.1 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2524, allocations: 6.5 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2524, allocations: 0 / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2524, allocations: 12.05 kB / 435.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.2527, allocations: 71.91 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2527, allocations: 4 kB / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.2529, allocations: 31.77 kB / 435.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.2529, allocations: 12 kB / 435.5 MB, free: 2.699 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.0001653/0.2531, allocations: 149.8 kB / 435.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2532, allocations: 35.8 kB / 435.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.2532, allocations: 34.58 kB / 435.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2532, allocations: 4 kB / 435.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.2533, allocations: 4 kB / 435.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2533, allocations: 0 / 435.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.2543, allocations: 0.739 MB / 436.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2543, allocations: 4 kB / 436.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.2546, allocations: 47.91 kB / 436.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003169/0.2549, allocations: 96.77 kB / 436.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.2549, allocations: 8 kB / 436.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.2571, allocations: 1.874 MB / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2571, allocations: 0 / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.2579, allocations: 0.4915 MB / 439 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.2579, allocations: 35.83 kB / 439 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.258, allocations: 8 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2581, allocations: 8 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.2582, allocations: 23.95 kB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.2582, allocations: 11.98 kB / 439.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.2583, allocations: 156.5 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2583, allocations: 0 / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000379/0.2587, allocations: 111.7 kB / 439.3 MB, free: 14.66 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.0001376/0.2589, allocations: 99.19 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.2593, allocations: 203.7 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2593, allocations: 0 / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.2597, allocations: 266.6 kB / 439.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.2601, allocations: 35.25 kB / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.2615, allocations: 0.8908 MB / 440.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.2621, allocations: 0.787 MB / 441.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.2621, allocations: 23.44 kB / 441.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2621, allocations: 0 / 441.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Templates: time 0.006937/0.2691, allocations: 4.063 MB / 445.7 MB, free: 8.219 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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.1701847340445966]