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.00184/0.00184, allocations: 109.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002632/0.002632, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.716/2.716, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4103, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.009423/0.4198, allocations: 3.697 MB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005274/0.4252, allocations: 1.483 MB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.4257, allocations: 8 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.4292, allocations: 0.7545 MB / 415.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.4313, allocations: 393.5 kB / 416.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.4335, allocations: 0.5522 MB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.4347, allocations: 458 kB / 417.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.4362, allocations: 473.6 kB / 417.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006658/0.4369, allocations: 215.2 kB / 417.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.4376, allocations: 278.9 kB / 418.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.4378, allocations: 44 kB / 418.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.4387, allocations: 215.8 kB / 418.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.4389, allocations: 111.6 kB / 418.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.4394, allocations: 234.9 kB / 418.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.4411, allocations: 0.7021 MB / 419.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4411, allocations: 4 kB / 419.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4411, allocations: 0 / 419.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.4412, allocations: 0 / 419.5 MB, free: 7.992 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.004365/0.4456, allocations: 0.9192 MB / 420.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.4456, allocations: 8.031 kB / 420.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008086/0.4537, allocations: 496 kB / 420.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009013/0.4547, allocations: 315.2 kB / 421.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.4548, allocations: 41.69 kB / 421.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.455, allocations: 52.38 kB / 421.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.4571, allocations: 0.5259 MB / 421.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.4571, allocations: 3.984 kB / 421.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.4573, allocations: 24 kB / 421.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.4573, allocations: 12 kB / 421.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.4595, allocations: 0.5789 MB / 422.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005789/0.4653, allocations: 1.938 MB / 424.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.4692, allocations: 2.174 MB / 426.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009396/0.4702, allocations: 270 kB / 426.8 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.4705, allocations: 166.6 kB / 427 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/0.4706, allocations: 43 kB / 427 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 5.29e-06/0.4706, allocations: 0 / 427 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.003095/0.4737, allocations: 0.7426 MB / 427.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4738, allocations: 59.84 kB / 427.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.4741, allocations: 186.2 kB / 428 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.4742, allocations: 33.7 kB / 428 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.4743, allocations: 216.5 kB / 428.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.4745, allocations: 165.6 kB / 428.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.4747, allocations: 86.19 kB / 428.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4749, allocations: 334.8 kB / 428.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.4753, allocations: 149.1 kB / 429 MB, free: 13.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.476, allocations: 242.5 kB / 429.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.4774, allocations: 420.8 kB / 429.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.4774, allocations: 4 kB / 429.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001985/0.4794, allocations: 0.5318 MB / 430.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.4795, allocations: 4 kB / 430.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4795, allocations: 4 kB / 430.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.4801, allocations: 88.73 kB / 430.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.4809, allocations: 91.89 kB / 430.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.4842, allocations: 1.779 MB / 432.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.4848, allocations: 47.53 kB / 432.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.4849, allocations: 19.92 kB / 432.2 MB, free: 10.36 MB / 350.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.0003786/0.4853, allocations: 173.7 kB / 432.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.4854, allocations: 27.62 kB / 432.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.4876, allocations: 0.5318 MB / 432.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.4876, allocations: 8 kB / 432.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4876, allocations: 4 kB / 432.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4877, allocations: 3.984 kB / 432.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.4911, allocations: 1.148 MB / 434.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.4911, allocations: 3.938 kB / 434.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007957/0.4919, allocations: 75.84 kB / 434.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005539/0.4925, allocations: 81.03 kB / 434.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.4926, allocations: 8 kB / 434.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.4955, allocations: 1.766 MB / 436 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4955, allocations: 0 / 436 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.4982, allocations: 0.8067 MB / 436.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.4984, allocations: 104.7 kB / 436.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.4985, allocations: 15.98 kB / 436.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.499, allocations: 16 kB / 437 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.4992, allocations: 40.31 kB / 437 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.4993, allocations: 24 kB / 437 MB, free: 5.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.4996, allocations: 127.2 kB / 437.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.4996, allocations: 3.938 kB / 437.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00108/0.5007, allocations: 155.5 kB / 437.3 MB, free: 4.977 MB / 350.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.0004387/0.5011, allocations: 139.2 kB / 437.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.5031, allocations: 0.5698 MB / 438 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.5031, allocations: 0 / 438 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.5043, allocations: 384.9 kB / 438.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.505, allocations: 24.62 kB / 438.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.5077, allocations: 0.8459 MB / 439.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.5084, allocations: 0.8083 MB / 440.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.5087, allocations: 43.36 kB / 440.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5087, allocations: 0 / 440.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Templates: time 0.01806/0.5268, allocations: 6.418 MB / 446.5 MB, free: 11.65 MB / 366.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/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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches