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.001861/0.001861, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002289/0.002289, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.54/1.54, allocations: 230.6 MB / 258.3 MB, free: 7.809 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: 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_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_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 47.92 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2216, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003927/0.2255, allocations: 2.588 MB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2267, allocations: 0.7361 MB / 435.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2269, allocations: 12 kB / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.227, allocations: 55.42 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.2272, allocations: 99.05 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.2276, allocations: 123.8 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.228, allocations: 450.8 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.2283, allocations: 165.2 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.2286, allocations: 191.4 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.2288, allocations: 207.1 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.2289, allocations: 48 kB / 437 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.229, allocations: 55.98 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.2291, allocations: 103.6 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2292, allocations: 179.2 kB / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.2298, allocations: 0.5008 MB / 437.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2298, allocations: 3.984 kB / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2298, allocations: 0 / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2298, allocations: 0 / 437.8 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.001131/0.2309, allocations: 0.6262 MB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.231, allocations: 8.031 kB / 438.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.2312, allocations: 60.64 kB / 438.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2315, allocations: 218.7 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.2316, allocations: 29.38 kB / 438.8 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.2316, allocations: 48.31 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.2325, allocations: 0.6206 MB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2325, allocations: 4 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.2326, allocations: 20 kB / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.2326, allocations: 8 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.2331, allocations: 283.8 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.235, allocations: 1.1 MB / 440.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.2354, allocations: 223.4 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.2358, allocations: 168.8 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2358, allocations: 0 / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2359, allocations: 38.56 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.2359, allocations: 0 / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001432/0.2373, allocations: 482.4 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.2374, allocations: 235.3 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.2376, allocations: 179.2 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.2377, allocations: 37.7 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.2378, allocations: 208.6 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.2379, allocations: 111 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.238, allocations: 57.7 kB / 442.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2382, allocations: 334.8 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.2383, allocations: 71.97 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.2387, allocations: 341.4 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.239, allocations: 204.2 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.239, allocations: 4 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004794/0.2395, allocations: 273.2 kB / 443.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2395, allocations: 7.938 kB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2395, allocations: 0 / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2396, allocations: 7.938 kB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.2399, allocations: 79.83 kB / 443.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2399, allocations: 7.938 kB / 443.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.2401, allocations: 35.77 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2401, allocations: 12.06 kB / 443.9 MB, free: 10.77 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.0001768/0.2403, allocations: 149.8 kB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.2404, allocations: 27.8 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/0.2404, allocations: 30.64 kB / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2404, allocations: 0 / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2405, allocations: 0 / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.2405, allocations: 27.83 kB / 444.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.2405, allocations: 8 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2407, allocations: 8 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.2408, allocations: 23.94 kB / 444.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001012/0.2418, allocations: 429.5 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007419/0.2425, allocations: 0.5316 MB / 445.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001688/0.2427, allocations: 79.95 kB / 445.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2428, allocations: 136.3 kB / 445.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2428, allocations: 0 / 445.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006153/0.2434, allocations: 210.2 kB / 445.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.001675/0.2451, allocations: 1.354 MB / 446.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of Templates: time 0.008023/0.2531, allocations: 3.858 MB / 450.7 MB, free: 3.859 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 4.914834683004301]