Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.86 kB / 306.3 MB, free: 1.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0844/0.08555, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004596/0.09019, allocations: 3.718 MB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.09258, allocations: 1.484 MB / 362 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.09278, allocations: 8 kB / 362 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.09437, allocations: 0.7083 MB / 362.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009175/0.0953, allocations: 350.5 kB / 363.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.09638, allocations: 0.5407 MB / 363.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.09691, allocations: 438 kB / 364 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008121/0.09773, allocations: 422.5 kB / 364.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.09808, allocations: 203.2 kB / 364.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.09839, allocations: 266.9 kB / 364.9 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.09846, allocations: 36 kB / 364.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.09892, allocations: 203.8 kB / 365.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.09901, allocations: 99.61 kB / 365.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.0992, allocations: 222.8 kB / 365.4 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.09986, allocations: 0.6892 MB / 366.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.09987, allocations: 0 / 366.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.09988, allocations: 0 / 366.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.09989, allocations: 0 / 366.1 MB, free: 5.16 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.002065/0.102, allocations: 0.9131 MB / 367.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.102, allocations: 12.02 kB / 367.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.1055, allocations: 499.9 kB / 367.6 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.1059, allocations: 303.7 kB / 367.8 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.106, allocations: 41.69 kB / 367.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-05/0.1061, allocations: 52.38 kB / 367.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009418/0.107, allocations: 0.5259 MB / 368.5 MB, free: 2.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.107, allocations: 4 kB / 368.5 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.1071, allocations: 24 kB / 368.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1071, allocations: 12 kB / 368.5 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.1082, allocations: 0.5751 MB / 369.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.111, allocations: 1.973 MB / 371.1 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1516/0.2626, allocations: 2.163 MB / 373.2 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.2631, allocations: 263.7 kB / 373.5 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.2633, allocations: 172.6 kB / 373.6 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.2633, allocations: 45.69 kB / 373.7 MB, free: 17.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/0.2633, allocations: 0.9688 kB / 373.7 MB, free: 17.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001802/0.2651, allocations: 0.746 MB / 374.4 MB, free: 17.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.2651, allocations: 58.36 kB / 374.5 MB, free: 17.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.2653, allocations: 194.3 kB / 374.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.2654, allocations: 32.7 kB / 374.7 MB, free: 17.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.2655, allocations: 217.9 kB / 374.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.2656, allocations: 161.1 kB / 375.1 MB, free: 17.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.2657, allocations: 81.02 kB / 375.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.2658, allocations: 335.4 kB / 375.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.2661, allocations: 153.8 kB / 375.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.2664, allocations: 239.7 kB / 375.9 MB, free: 16.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.2671, allocations: 416.5 kB / 376.3 MB, free: 16.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2671, allocations: 0 / 376.3 MB, free: 16.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009605/0.268, allocations: 0.544 MB / 376.8 MB, free: 16.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2681, allocations: 5.5 kB / 376.8 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2681, allocations: 4.812 kB / 376.8 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.2684, allocations: 83.7 kB / 376.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.2688, allocations: 91.88 kB / 377 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2701, allocations: 1.638 MB / 378.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.2704, allocations: 52.3 kB / 378.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.2704, allocations: 23.14 kB / 378.7 MB, free: 14.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.2706, allocations: 169.8 kB / 378.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.2707, allocations: 24.34 kB / 378.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009984/0.2717, allocations: 0.5372 MB / 379.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2717, allocations: 6.281 kB / 379.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2717, allocations: 4.781 kB / 379.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2717, allocations: 3.094 kB / 379.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.2733, allocations: 1.154 MB / 380.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2733, allocations: 0 / 380.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.2736, allocations: 81.12 kB / 380.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.2739, allocations: 85.78 kB / 380.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.2739, allocations: 12.88 kB / 380.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.2751, allocations: 1.638 MB / 382.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2751, allocations: 2.094 kB / 382.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2763, allocations: 0.7969 MB / 383.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.2764, allocations: 115.7 kB / 383.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.2764, allocations: 11.55 kB / 383.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.2766, allocations: 19.41 kB / 383.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.2767, allocations: 39 kB / 383.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.2768, allocations: 19.28 kB / 383.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.052e-05/0.2769, allocations: 133.4 kB / 383.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2769, allocations: 0 / 383.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.2774, allocations: 146.4 kB / 383.7 MB, free: 11.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002035/0.2776, allocations: 142.6 kB / 383.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009495/0.2786, allocations: 0.57 MB / 384.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2786, allocations: 0 / 384.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.2791, allocations: 381.1 kB / 384.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.2795, allocations: 28.5 kB / 384.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2807, allocations: 1.029 MB / 385.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.2809, allocations: 0.8052 MB / 386.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.2811, allocations: 51.06 kB / 386.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.2812, allocations: 35.64 kB / 386.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2812, allocations: 0 / 386.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of Templates: time 0.008195/0.2894, allocations: 4.106 MB / 390.8 MB, free: 8.988 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches