Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001728/0.001728, allocations: 113.7 kB / 18.45 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.001969, allocations: 212.7 kB / 19.4 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB 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.001906/0.001906, allocations: 63.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2239, allocations: 50.54 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005278/0.2291, allocations: 3.705 MB / 413.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.2317, allocations: 1.491 MB / 415.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.2319, allocations: 8 kB / 415.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.2337, allocations: 0.7545 MB / 416.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009025/0.2346, allocations: 396.1 kB / 416.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2357, allocations: 0.5512 MB / 417.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.2362, allocations: 454 kB / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005451/0.2368, allocations: 305.8 kB / 417.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.2371, allocations: 211.2 kB / 418 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.2374, allocations: 270.9 kB / 418.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.2375, allocations: 40 kB / 418.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.2379, allocations: 211.9 kB / 418.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-05/0.238, allocations: 107.6 kB / 418.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.2382, allocations: 234.8 kB / 418.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008502/0.2391, allocations: 0.6849 MB / 419.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2391, allocations: 0 / 419.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2391, allocations: 0 / 419.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2391, allocations: 0 / 419.6 MB, free: 8.02 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002184/0.2413, allocations: 0.92 MB / 420.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2413, allocations: 8.031 kB / 420.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.245, allocations: 0.5 MB / 421 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.2455, allocations: 299.8 kB / 421.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.2455, allocations: 37.69 kB / 421.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.632e-05/0.2456, allocations: 52.38 kB / 421.4 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009717/0.2466, allocations: 0.5142 MB / 421.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.2466, allocations: 0 / 421.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.2467, allocations: 24 kB / 421.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2467, allocations: 16 kB / 421.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2478, allocations: 0.5634 MB / 422.5 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.2508, allocations: 1.945 MB / 424.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.2533, allocations: 2.137 MB / 426.6 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.2536, allocations: 190 kB / 426.8 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.2538, allocations: 174.6 kB / 426.9 MB, free: 0 / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.2538, allocations: 39 kB / 427 MB, free: 15.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.563e-06/0.2538, allocations: 0 / 427 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002042/0.2559, allocations: 0.7856 MB / 427.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2559, allocations: 63.83 kB / 427.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.2561, allocations: 178.3 kB / 428 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.2562, allocations: 37.7 kB / 428 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.2563, allocations: 236.8 kB / 428.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2564, allocations: 162.5 kB / 428.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.2566, allocations: 90.23 kB / 428.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2567, allocations: 338.8 kB / 428.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.2571, allocations: 145.1 kB / 429 MB, free: 13.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.2574, allocations: 228.8 kB / 429.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.2582, allocations: 399.4 kB / 429.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2582, allocations: 4 kB / 429.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001104/0.2593, allocations: 0.5318 MB / 430.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2593, allocations: 8 kB / 430.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2593, allocations: 0 / 430.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.2596, allocations: 88.8 kB / 430.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.26, allocations: 91.89 kB / 430.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.2623, allocations: 2.037 MB / 432.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.2626, allocations: 47.67 kB / 432.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.2626, allocations: 19.98 kB / 432.4 MB, free: 10.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.2628, allocations: 169.8 kB / 432.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.2629, allocations: 27.81 kB / 432.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.264, allocations: 0.5434 MB / 433.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2641, allocations: 4.188 kB / 433.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2641, allocations: 0 / 433.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2641, allocations: 11.92 kB / 433.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.2658, allocations: 1.127 MB / 434.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2658, allocations: 7.875 kB / 434.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.2661, allocations: 75.91 kB / 434.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.2664, allocations: 88.8 kB / 434.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.2665, allocations: 8 kB / 434.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.2686, allocations: 2.041 MB / 436.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2686, allocations: 0 / 436.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.27, allocations: 0.7855 MB / 437.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.27, allocations: 108.9 kB / 437.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.2701, allocations: 12 kB / 437.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.2703, allocations: 20.05 kB / 437.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.2704, allocations: 40.33 kB / 437.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.2704, allocations: 8 kB / 437.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.2706, allocations: 139.2 kB / 437.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2706, allocations: 0 / 437.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000575/0.2712, allocations: 151.6 kB / 437.8 MB, free: 4.621 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002345/0.2714, allocations: 139.2 kB / 437.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.2724, allocations: 0.5386 MB / 438.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2724, allocations: 192 / 438.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.2731, allocations: 361.4 kB / 438.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.2734, allocations: 35.11 kB / 438.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.2748, allocations: 0.818 MB / 439.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.2753, allocations: 0.8006 MB / 440.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.2754, allocations: 46.95 kB / 440.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.2755, allocations: 35.42 kB / 440.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2755, allocations: 0 / 440.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Templates: time 0.009706/0.2852, allocations: 4.446 MB / 445 MB, free: 13.35 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches