Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001841/0.001841, allocations: 110.8 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.00222/0.00222, allocations: 209.3 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 51.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2042, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006424/0.2106, allocations: 4.554 MB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.2138, allocations: 1.718 MB / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.2141, allocations: 23.88 kB / 438.6 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.2169, allocations: 1.088 MB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.2183, allocations: 0.614 MB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2196, allocations: 0.583 MB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008231/0.2204, allocations: 0.7505 MB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.2212, allocations: 0.5312 MB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004024/0.2216, allocations: 338.7 kB / 442.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.222, allocations: 430.3 kB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.84e-05/0.2221, allocations: 64 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.2226, allocations: 255.8 kB / 443.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.2227, allocations: 163.4 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.2231, allocations: 302.5 kB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.2242, allocations: 1.039 MB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2242, allocations: 0 / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2242, allocations: 0 / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2242, allocations: 0 / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003923/0.2281, allocations: 1.332 MB / 446.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2282, allocations: 8.031 kB / 446.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007025/0.2352, allocations: 0.7848 MB / 446.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.2358, allocations: 354.6 kB / 447.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.2359, allocations: 58.38 kB / 447.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.236, allocations: 84.12 kB / 447.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.2375, allocations: 0.8228 MB / 448.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.2375, allocations: 7.953 kB / 448.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.2376, allocations: 28 kB / 448.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.2376, allocations: 20 kB / 448.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.2393, allocations: 0.8979 MB / 449.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.2433, allocations: 2.198 MB / 451.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.2451, allocations: 0.7711 MB / 452.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.2457, allocations: 287.2 kB / 452.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.2458, allocations: 28.62 kB / 452.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.2458, allocations: 39.22 kB / 452.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.194e-06/0.2458, allocations: 0 / 452.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003725/0.2495, allocations: 1.259 MB / 453.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.2496, allocations: 60.06 kB / 453.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.2498, allocations: 253 kB / 454 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.2499, allocations: 37.7 kB / 454.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.2501, allocations: 300.6 kB / 454.4 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.2503, allocations: 261.7 kB / 454.6 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.2505, allocations: 134.6 kB / 454.8 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2507, allocations: 350.7 kB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.2512, allocations: 237.9 kB / 455.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.2518, allocations: 362.5 kB / 455.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.2529, allocations: 0.622 MB / 456.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2529, allocations: 4 kB / 456.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001881/0.2548, allocations: 0.8609 MB / 457.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2548, allocations: 7.938 kB / 457.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2548, allocations: 7.984 kB / 457.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008025/0.2556, allocations: 208.7 kB / 457.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.2562, allocations: 139.8 kB / 457.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.2596, allocations: 2.542 MB / 460.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.26, allocations: 75.55 kB / 460.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.2601, allocations: 27.98 kB / 460.2 MB, free: 10.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.2604, allocations: 201.7 kB / 460.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.843e-05/0.2604, allocations: 43.7 kB / 460.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.2625, allocations: 0.8896 MB / 461.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.2625, allocations: 3.984 kB / 461.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2625, allocations: 0 / 461.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.2626, allocations: 55.52 kB / 461.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.2627, allocations: 19.94 kB / 461.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.263, allocations: 27.98 kB / 461.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.2631, allocations: 64.52 kB / 461.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002072/0.2652, allocations: 0.8415 MB / 462.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001767/0.267, allocations: 1.057 MB / 463.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000477/0.2675, allocations: 241.1 kB / 463.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.2676, allocations: 176.5 kB / 463.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of Backend: time 3.61e-07/0.2676, allocations: 0 / 463.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.2693, allocations: 0.7466 MB / 464.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of SimCode: time 0.001899/0.2712, allocations: 1.578 MB / 466.1 MB, free: 4.395 MB / 366.1 MB Notification: Performance of Templates: time 0.01905/0.2902, allocations: 11.51 MB / 477.6 MB, free: 8.996 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.677912054001354]