Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 64.86 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08371/0.08485, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00472/0.0896, allocations: 3.696 MB / 362.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.09182, allocations: 1.487 MB / 364.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.09199, allocations: 8 kB / 364.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.09361, allocations: 0.7618 MB / 364.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007748/0.0944, allocations: 378 kB / 365.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009157/0.09532, allocations: 0.5513 MB / 365.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.09574, allocations: 462 kB / 366.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.09628, allocations: 385.8 kB / 366.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.09656, allocations: 219.1 kB / 366.8 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.09684, allocations: 259 kB / 367.1 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.0969, allocations: 44 kB / 367.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.09724, allocations: 211.8 kB / 367.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.09733, allocations: 103.6 kB / 367.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.09751, allocations: 234.8 kB / 367.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.09816, allocations: 0.6892 MB / 368.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09817, allocations: 0 / 368.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09818, allocations: 4 kB / 368.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.0982, allocations: 0 / 368.3 MB, free: 3.852 MB / 302.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.001879/0.1001, allocations: 0.9053 MB / 369.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.1001, allocations: 8.031 kB / 369.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003491/0.1036, allocations: 0.4921 MB / 369.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.104, allocations: 299.7 kB / 370 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.104, allocations: 37.69 kB / 370.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.1041, allocations: 56.38 kB / 370.1 MB, free: 1.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.105, allocations: 0.5142 MB / 370.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.105, allocations: 0 / 370.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.1051, allocations: 20 kB / 370.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1051, allocations: 12 kB / 370.7 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/0.1061, allocations: 0.5673 MB / 371.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.144/0.2501, allocations: 1.932 MB / 373.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.2518, allocations: 2.185 MB / 375.4 MB, free: 17.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.2522, allocations: 214.2 kB / 375.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.2523, allocations: 175.4 kB / 375.7 MB, free: 16.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2523, allocations: 35.78 kB / 375.8 MB, free: 16.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.956e-06/0.2523, allocations: 2.484 kB / 375.8 MB, free: 16.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001843/0.2542, allocations: 0.7962 MB / 376.6 MB, free: 16.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.2542, allocations: 56.22 kB / 376.6 MB, free: 16.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.2544, allocations: 187.9 kB / 376.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2544, allocations: 37.05 kB / 376.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.2545, allocations: 219.1 kB / 377.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.2546, allocations: 151.9 kB / 377.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2547, allocations: 89.02 kB / 377.3 MB, free: 16.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.2548, allocations: 341.1 kB / 377.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.2551, allocations: 148.7 kB / 377.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.2554, allocations: 232.7 kB / 378 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.256, allocations: 400.7 kB / 378.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.256, allocations: 0 / 378.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008971/0.2569, allocations: 0.534 MB / 378.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2569, allocations: 5.5 kB / 378.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2569, allocations: 2.078 kB / 378.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.2573, allocations: 86.41 kB / 379 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.2576, allocations: 94.16 kB / 379.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.2592, allocations: 2.045 MB / 381.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.2595, allocations: 52.83 kB / 381.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.2595, allocations: 18.06 kB / 381.2 MB, free: 13.22 MB / 302.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.0001453/0.2597, allocations: 170.2 kB / 381.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.2598, allocations: 24.41 kB / 381.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.2608, allocations: 0.5493 MB / 382 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2608, allocations: 5.344 kB / 382 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2608, allocations: 1.312 kB / 382 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2608, allocations: 4.031 kB / 382 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.2623, allocations: 1.131 MB / 383.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2623, allocations: 0 / 383.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.2627, allocations: 78.27 kB / 383.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.2629, allocations: 88.83 kB / 383.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.263, allocations: 7.984 kB / 383.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.2644, allocations: 2.041 MB / 385.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2644, allocations: 0 / 385.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.2656, allocations: 0.7909 MB / 386.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.2657, allocations: 106.8 kB / 386.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.2657, allocations: 14.5 kB / 386.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2659, allocations: 16.12 kB / 386.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2661, allocations: 40.77 kB / 386.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.2661, allocations: 15.52 kB / 386.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.2662, allocations: 135 kB / 386.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2662, allocations: 0 / 386.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005767/0.2668, allocations: 151.9 kB / 386.6 MB, free: 9.613 MB / 302.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.0002032/0.267, allocations: 138.2 kB / 386.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009598/0.268, allocations: 0.5672 MB / 387.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.268, allocations: 2.031 kB / 387.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.2685, allocations: 377.8 kB / 387.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2688, allocations: 36.08 kB / 387.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.27, allocations: 0.8039 MB / 388.5 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.2703, allocations: 0.8097 MB / 389.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.2704, allocations: 45.11 kB / 389.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.2705, allocations: 33.47 kB / 389.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2705, allocations: 1.125 kB / 389.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Templates: time 0.008163/0.2787, allocations: 4.324 MB / 393.7 MB, free: 7.078 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches