Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 110.9 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 188.4 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 43.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2326, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004602/0.2373, allocations: 3.692 MB / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.2395, allocations: 1.433 MB / 406.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.2397, allocations: 8 kB / 406.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.2415, allocations: 0.7467 MB / 407.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.2426, allocations: 0.5425 MB / 407.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000789/0.2434, allocations: 426.8 kB / 408.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.2438, allocations: 462 kB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/0.2444, allocations: 381.7 kB / 409.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.2447, allocations: 207.2 kB / 409.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.245, allocations: 271 kB / 409.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.2451, allocations: 44 kB / 409.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.2455, allocations: 199.9 kB / 409.8 MB, free: 460 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2456, allocations: 107.5 kB / 409.9 MB, free: 352 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.2458, allocations: 234.9 kB / 410.1 MB, free: 116 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.2465, allocations: 0.6788 MB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2465, allocations: 0 / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2465, allocations: 0 / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2465, allocations: 4 kB / 410.8 MB, free: 15.43 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.002034/0.2486, allocations: 0.9014 MB / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2486, allocations: 15.89 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.2522, allocations: 491.9 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.2527, allocations: 303.7 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.2527, allocations: 45.69 kB / 412.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.2528, allocations: 56.28 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009333/0.2538, allocations: 0.5103 MB / 413.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.2538, allocations: 4 kB / 413.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.2539, allocations: 23.98 kB / 413.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.2539, allocations: 15.94 kB / 413.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009807/0.2549, allocations: 0.5634 MB / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.2575, allocations: 1.853 MB / 415.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.2596, allocations: 2.184 MB / 417.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.26, allocations: 210.1 kB / 417.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.495e-05/0.2601, allocations: 93.52 kB / 418 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2601, allocations: 39 kB / 418.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.2601, allocations: 0 / 418.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001917/0.2621, allocations: 0.7933 MB / 418.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2621, allocations: 59.84 kB / 418.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.2623, allocations: 190.2 kB / 419.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.2623, allocations: 33.7 kB / 419.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.2625, allocations: 216.5 kB / 419.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.2626, allocations: 157.7 kB / 419.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.2627, allocations: 90.16 kB / 419.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2628, allocations: 338.8 kB / 419.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.2631, allocations: 149 kB / 420.1 MB, free: 5.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.2635, allocations: 224.8 kB / 420.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.2641, allocations: 403.4 kB / 420.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2641, allocations: 12 kB / 420.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001009/0.2652, allocations: 0.5278 MB / 421.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2652, allocations: 8 kB / 421.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2652, allocations: 4 kB / 421.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.2655, allocations: 92.8 kB / 421.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.2659, allocations: 87.83 kB / 421.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.2679, allocations: 2.037 MB / 423.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.2682, allocations: 47.53 kB / 423.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.2683, allocations: 16.19 kB / 423.5 MB, free: 1.801 MB / 334.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.0001983/0.2685, allocations: 173.6 kB / 423.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.2686, allocations: 31.56 kB / 423.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.2697, allocations: 0.5474 MB / 424.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2697, allocations: 4 kB / 424.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2697, allocations: 4 kB / 424.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2697, allocations: 0 / 424.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.2714, allocations: 1.119 MB / 425.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2715, allocations: 3.938 kB / 425.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.2718, allocations: 75.89 kB / 425.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.2721, allocations: 92.73 kB / 425.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.2721, allocations: 12 kB / 425.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.2741, allocations: 2.041 MB / 427.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2741, allocations: 0 / 427.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.2755, allocations: 0.7893 MB / 428.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.2756, allocations: 116.6 kB / 428.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.2756, allocations: 15.94 kB / 428.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.2759, allocations: 16 kB / 428.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.276, allocations: 36.38 kB / 428.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.276, allocations: 12.06 kB / 428.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.2761, allocations: 140.2 kB / 428.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2761, allocations: 192 / 428.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000624/0.2768, allocations: 143.7 kB / 428.9 MB, free: 12.19 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.000234/0.277, allocations: 143.1 kB / 429 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.2781, allocations: 0.5621 MB / 429.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2781, allocations: 0 / 429.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.2787, allocations: 384.9 kB / 429.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2791, allocations: 35.98 kB / 430 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2804, allocations: 0.8156 MB / 430.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.2808, allocations: 0.8122 MB / 431.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.2809, allocations: 35.44 kB / 431.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.281, allocations: 0 / 431.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of Templates: time 0.008608/0.2896, allocations: 6.288 MB / 437.9 MB, free: 3.02 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches