Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.00166/0.00166, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.376/2.376, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 51.39 kB / 300.6 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1617, allocations: 49.44 MB / 350.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.009594/0.1714, allocations: 3.713 MB / 353.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004588/0.1761, allocations: 1.414 MB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006871/0.1768, allocations: 12 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003081/0.18, allocations: 0.7111 MB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1821, allocations: 0.498 MB / 356.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.1836, allocations: 414 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.1847, allocations: 446 kB / 357.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.186, allocations: 422.3 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.1866, allocations: 203.2 kB / 357.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.1871, allocations: 274.9 kB / 358.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.1873, allocations: 36 kB / 358.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008323/0.1882, allocations: 187.9 kB / 358.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.1884, allocations: 99.61 kB / 358.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.1889, allocations: 226.8 kB / 358.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.1899, allocations: 0.5377 MB / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.1899, allocations: 0 / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1899, allocations: 0 / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.19, allocations: 0 / 359.2 MB, free: 11.68 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.003806/0.1938, allocations: 0.9093 MB / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/0.1939, allocations: 8.031 kB / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005614/0.1995, allocations: 495.9 kB / 360.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000812/0.2004, allocations: 307.6 kB / 360.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.2005, allocations: 41.69 kB / 360.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.2007, allocations: 52.38 kB / 361 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.2024, allocations: 0.5337 MB / 361.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.2025, allocations: 0 / 361.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.2026, allocations: 20 kB / 361.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.2026, allocations: 16 kB / 361.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.2044, allocations: 0.5712 MB / 362.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/0.2095, allocations: 1.886 MB / 364 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.2132, allocations: 2.17 MB / 366.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008531/0.214, allocations: 258.1 kB / 366.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.2142, allocations: 97.52 kB / 366.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.2143, allocations: 43 kB / 366.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 4.007e-06/0.2143, allocations: 0 / 366.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002647/0.217, allocations: 0.7425 MB / 367.3 MB, free: 2.918 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.2172, allocations: 59.84 kB / 367.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.2176, allocations: 186.3 kB / 367.6 MB, free: 2.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.2177, allocations: 29.7 kB / 367.6 MB, free: 2.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.218, allocations: 212.5 kB / 367.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.2182, allocations: 165.6 kB / 368 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.2184, allocations: 82.16 kB / 368 MB, free: 2.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.2187, allocations: 338.8 kB / 368.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.2192, allocations: 153 kB / 368.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.2197, allocations: 234.6 kB / 368.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2208, allocations: 424.8 kB / 369.2 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.2208, allocations: 4 kB / 369.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001712/0.2225, allocations: 0.5357 MB / 369.7 MB, free: 424 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.2226, allocations: 4 kB / 369.7 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2226, allocations: 4 kB / 369.7 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.2231, allocations: 72.81 kB / 369.8 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.2237, allocations: 99.81 kB / 369.9 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3341/0.5578, allocations: 1.635 MB / 371.5 MB, free: 24.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.5585, allocations: 46 kB / 371.6 MB, free: 24.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.5587, allocations: 16.8 kB / 371.6 MB, free: 24.17 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.0004519/0.5591, allocations: 174.8 kB / 371.7 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.5593, allocations: 29.27 kB / 371.8 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.5615, allocations: 0.54 MB / 372.3 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.5615, allocations: 9.219 kB / 372.3 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.5615, allocations: 1.344 kB / 372.3 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.5615, allocations: 8.078 kB / 372.3 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.5649, allocations: 1.151 MB / 373.5 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.565, allocations: 1.062 kB / 373.5 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.5656, allocations: 75.58 kB / 373.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005643/0.5662, allocations: 78.92 kB / 373.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.5663, allocations: 11.94 kB / 373.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.569, allocations: 1.648 MB / 375.3 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.569, allocations: 2.188 kB / 375.3 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.5714, allocations: 0.7988 MB / 376.1 MB, free: 21.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.5715, allocations: 112.9 kB / 376.2 MB, free: 21.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/0.5716, allocations: 15.53 kB / 376.2 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.5721, allocations: 24.2 kB / 376.2 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.5723, allocations: 34.44 kB / 376.3 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.5723, allocations: 11 kB / 376.3 MB, free: 21.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.5726, allocations: 136.3 kB / 376.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5726, allocations: 0 / 376.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001118/0.5737, allocations: 143.4 kB / 376.6 MB, free: 21.32 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.0003562/0.5741, allocations: 152 kB / 376.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.576, allocations: 0.5667 MB / 377.3 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.576, allocations: 4.656 kB / 377.3 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.5771, allocations: 384.4 kB / 377.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.5779, allocations: 32.34 kB / 377.7 MB, free: 20.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.5803, allocations: 1.047 MB / 378.7 MB, free: 20.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.5808, allocations: 0.8047 MB / 379.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.581, allocations: 38.77 kB / 379.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.581, allocations: 0 / 379.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of Templates: time 0.01885/0.5999, allocations: 6.296 MB / 385.9 MB, free: 17.94 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches