Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.88 kB / 378.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2407, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003997/0.2447, allocations: 2.875 MB / 435 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2461, allocations: 0.7634 MB / 435.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.2462, allocations: 4 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.2464, allocations: 67.36 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.2466, allocations: 95.06 kB / 435.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2469, allocations: 123.8 kB / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.2474, allocations: 462.8 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.2477, allocations: 157.4 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.248, allocations: 187.4 kB / 436.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.2483, allocations: 207.1 kB / 437 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.2483, allocations: 44 kB / 437.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.2485, allocations: 59.98 kB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.2485, allocations: 103.7 kB / 437.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.2487, allocations: 215 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.2493, allocations: 0.5036 MB / 437.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2493, allocations: 0 / 437.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2493, allocations: 0 / 437.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.2493, allocations: 0 / 437.9 MB, free: 1.246 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.001129/0.2505, allocations: 0.6263 MB / 438.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2505, allocations: 8.031 kB / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.2507, allocations: 60.64 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.2511, allocations: 226.6 kB / 438.9 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.2511, allocations: 29.38 kB / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.2512, allocations: 44.33 kB / 438.9 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007642/0.2519, allocations: 455.6 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.2519, allocations: 4 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.252, allocations: 20 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.252, allocations: 8 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.2526, allocations: 291.8 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.2545, allocations: 1.255 MB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.255, allocations: 215.4 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.2554, allocations: 177.4 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2554, allocations: 3.984 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.2554, allocations: 42.55 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.2555, allocations: 0 / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001456/0.2569, allocations: 486.3 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.257, allocations: 235.3 kB / 442.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.2572, allocations: 210.8 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.2573, allocations: 33.7 kB / 442.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2574, allocations: 204.6 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/0.2575, allocations: 111.1 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.2576, allocations: 57.7 kB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2577, allocations: 330.8 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.2579, allocations: 83.95 kB / 443.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.2581, allocations: 152.9 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.2585, allocations: 204.2 kB / 443.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2585, allocations: 0 / 443.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004881/0.259, allocations: 285.1 kB / 443.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.259, allocations: 4 kB / 443.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.259, allocations: 0 / 443.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.259, allocations: 4 kB / 443.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.2593, allocations: 79.89 kB / 443.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2594, allocations: 4.078 kB / 443.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2595, allocations: 31.73 kB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.2595, allocations: 15.98 kB / 443.8 MB, free: 11 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.0001532/0.2597, allocations: 153.8 kB / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.2598, allocations: 35.78 kB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/0.2598, allocations: 34.66 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2598, allocations: 0 / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.2598, allocations: 4 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2599, allocations: 7.922 kB / 444.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.261, allocations: 0.7273 MB / 444.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.261, allocations: 8.031 kB / 444.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.2612, allocations: 47.97 kB / 444.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.2615, allocations: 88.8 kB / 444.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.2616, allocations: 8 kB / 445 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.2636, allocations: 1.866 MB / 446.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2636, allocations: 64 / 446.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.2644, allocations: 0.4979 MB / 447.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.2645, allocations: 27.89 kB / 447.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.2645, allocations: 16 kB / 447.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.2647, allocations: 11.98 kB / 447.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.2647, allocations: 31.88 kB / 447.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.2648, allocations: 12 kB / 447.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.2649, allocations: 148.5 kB / 447.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2649, allocations: 0 / 447.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.2653, allocations: 107.8 kB / 447.7 MB, free: 6.973 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.0001244/0.2654, allocations: 95.25 kB / 447.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.2658, allocations: 203.8 kB / 448 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2658, allocations: 0 / 448 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.2663, allocations: 274.4 kB / 448.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.2667, allocations: 27.98 kB / 448.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2681, allocations: 0.8591 MB / 449.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.2685, allocations: 0.7831 MB / 449.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.917e-05/0.2686, allocations: 21.94 kB / 449.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.2687, allocations: 23.44 kB / 449.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2687, allocations: 0 / 449.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of Templates: time 0.00788/0.2765, allocations: 3.343 MB / 453.3 MB, free: 1.277 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.572175527922809]