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.001756/0.001756, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002029/0.002029, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.405/1.405, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001912/0.001912, allocations: 75.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2103, 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.004017/0.2143, allocations: 2.871 MB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2156, allocations: 0.7751 MB / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2157, allocations: 4 kB / 435.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.2158, allocations: 63.36 kB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.216, allocations: 91.12 kB / 435.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.2164, allocations: 131.7 kB / 436 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.2168, allocations: 454.8 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.2171, allocations: 153 kB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.2174, allocations: 187.4 kB / 436.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.2176, allocations: 207.1 kB / 437 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.273e-05/0.2177, allocations: 48 kB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2178, allocations: 52 kB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.2179, allocations: 95.69 kB / 437.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.2181, allocations: 227 kB / 437.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.2186, allocations: 0.5 MB / 437.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2186, allocations: 0 / 437.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2186, allocations: 0 / 437.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2187, allocations: 4 kB / 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.001127/0.2198, allocations: 0.6976 MB / 438.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2198, allocations: 8.031 kB / 438.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.2201, allocations: 64.64 kB / 438.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.2204, allocations: 280.5 kB / 438.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.2204, allocations: 29.38 kB / 438.9 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.2205, allocations: 48.33 kB / 439 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.2212, allocations: 451.6 kB / 439.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.2212, allocations: 8 kB / 439.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.2213, allocations: 16 kB / 439.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.2213, allocations: 8 kB / 439.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.2218, allocations: 283.9 kB / 439.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.2237, allocations: 1.303 MB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.2241, allocations: 222.6 kB / 441.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.2245, allocations: 173.3 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.2245, allocations: 4 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2246, allocations: 38.56 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.432e-06/0.2246, allocations: 4 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001421/0.226, allocations: 0.5464 MB / 442 MB, free: 13.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.2261, allocations: 239.3 kB / 442.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.2263, allocations: 206.8 kB / 442.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.2264, allocations: 33.7 kB / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.2265, allocations: 204.6 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/0.2266, allocations: 111 kB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2267, allocations: 61.7 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2269, allocations: 334.8 kB / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.227, allocations: 71.97 kB / 443.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.2273, allocations: 160.8 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.2276, allocations: 208.8 kB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2276, allocations: 0 / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004738/0.2281, allocations: 273.1 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2281, allocations: 8 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2281, allocations: 3.984 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2281, allocations: 4 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.2285, allocations: 79.97 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2285, allocations: 11.92 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2287, allocations: 31.73 kB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.2287, allocations: 12 kB / 444 MB, free: 10.96 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.0001466/0.2289, allocations: 145.8 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.2289, allocations: 27.8 kB / 444.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-05/0.229, allocations: 34.64 kB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.229, allocations: 4 kB / 444.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.229, allocations: 0 / 444.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.2291, allocations: 112.8 kB / 444.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.2291, allocations: 11.98 kB / 444.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.2293, allocations: 8 kB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.2293, allocations: 27.95 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009798/0.2303, allocations: 429.5 kB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006921/0.231, allocations: 0.5199 MB / 445.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001658/0.2312, allocations: 91.94 kB / 445.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.2313, allocations: 148.6 kB / 445.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of Backend: time 2.81e-07/0.2313, allocations: 0 / 445.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.2319, allocations: 217.3 kB / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of SimCode: time 0.001581/0.2335, allocations: 1.364 MB / 447.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of Templates: time 0.00739/0.2409, allocations: 3.428 MB / 450.6 MB, free: 4.297 MB / 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: 4.389067071955651]