Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001547/0.001547, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001657/0.001657, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.387/1.387, allocations: 230.5 MB / 258.1 MB, free: 8.145 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-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 75.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2338, allocations: 53.31 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004132/0.238, allocations: 2.868 MB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2396, allocations: 0.7672 MB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2397, allocations: 8 kB / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.2399, allocations: 59.42 kB / 435.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.2401, allocations: 91.06 kB / 435.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.2405, allocations: 135.7 kB / 436 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.241, allocations: 458.7 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.2413, allocations: 156.9 kB / 436.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.2415, allocations: 183.4 kB / 436.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.2418, allocations: 211.1 kB / 436.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.2419, allocations: 44 kB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.242, allocations: 52 kB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.2421, allocations: 95.69 kB / 437.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2423, allocations: 223 kB / 437.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.2428, allocations: 0.4999 MB / 437.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2428, allocations: 8 kB / 437.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2428, allocations: 0 / 437.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.2428, allocations: 0 / 437.9 MB, free: 1.512 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.001131/0.244, allocations: 0.6976 MB / 438.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.244, allocations: 12.03 kB / 438.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.2443, allocations: 60.64 kB / 438.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.2446, allocations: 276.5 kB / 438.9 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.2446, allocations: 29.38 kB / 438.9 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.2447, allocations: 48.33 kB / 439 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.2454, allocations: 455.6 kB / 439.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2454, allocations: 0 / 439.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.2455, allocations: 20 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.2455, allocations: 8 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.246, allocations: 283.9 kB / 439.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.248, allocations: 1.311 MB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.2484, allocations: 217.4 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.2488, allocations: 165.3 kB / 441.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2488, allocations: 7.938 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2488, allocations: 46.55 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.2488, allocations: 0 / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001381/0.2502, allocations: 0.5464 MB / 442 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.2504, allocations: 239.3 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.2506, allocations: 206.8 kB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.2506, allocations: 33.7 kB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2507, allocations: 208.6 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-05/0.2508, allocations: 107.1 kB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/0.2509, allocations: 65.69 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2511, allocations: 330.8 kB / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2512, allocations: 75.97 kB / 443.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.2514, allocations: 160.8 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.2518, allocations: 204.8 kB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2518, allocations: 0 / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004608/0.2522, allocations: 277.1 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2523, allocations: 8 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2523, allocations: 80 / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2523, allocations: 4.062 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.2526, allocations: 83.89 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2526, allocations: 11.92 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.2528, allocations: 35.72 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.2528, allocations: 12 kB / 444 MB, free: 10.95 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.0001537/0.253, allocations: 145.8 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.253, allocations: 31.8 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/0.2531, allocations: 30.64 kB / 444.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2531, allocations: 11.98 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.2531, allocations: 4 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2531, allocations: 0 / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.2542, allocations: 0.7634 MB / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2542, allocations: 0 / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.2545, allocations: 55.91 kB / 445.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.2548, allocations: 92.83 kB / 445.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2548, allocations: 4 kB / 445.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.2569, allocations: 1.973 MB / 447.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2569, allocations: 0 / 447.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/0.2577, allocations: 0.4983 MB / 447.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.2578, allocations: 104.8 kB / 447.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.2578, allocations: 8.062 kB / 447.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.258, allocations: 8 kB / 447.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.2581, allocations: 23.97 kB / 447.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2581, allocations: 20.11 kB / 447.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.2582, allocations: 148.5 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2582, allocations: 4 kB / 447.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.2586, allocations: 111.7 kB / 448 MB, free: 6.672 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.000154/0.2588, allocations: 103.5 kB / 448.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.2592, allocations: 196 kB / 448.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2592, allocations: 0 / 448.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.2597, allocations: 278.6 kB / 448.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.2601, allocations: 35.92 kB / 448.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2615, allocations: 0.8824 MB / 449.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.2619, allocations: 0.7831 MB / 450.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.262, allocations: 23.44 kB / 450.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.262, allocations: 0 / 450.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of Templates: time 0.006491/0.2685, allocations: 4.069 MB / 454.4 MB, free: 228 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.889058503322303]