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.001556/0.001556, allocations: 113.2 kB / 16.63 MB, free: 6.332 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.001624/0.001624, allocations: 189.9 kB / 17.55 MB, free: 5.801 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.357/1.357, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009473/0.0009473, allocations: 55.06 kB / 300.1 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08948, allocations: 49.44 MB / 349.6 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004473/0.09399, allocations: 3.717 MB / 353.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.0962, allocations: 1.402 MB / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.09637, allocations: 8 kB / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.09808, allocations: 0.7072 MB / 355.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.09917, allocations: 0.498 MB / 355.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.09992, allocations: 390.6 kB / 356.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.1004, allocations: 466 kB / 356.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008023/0.1012, allocations: 0.5099 MB / 357.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.1015, allocations: 219.2 kB / 357.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.1018, allocations: 270.9 kB / 357.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.1019, allocations: 44 kB / 357.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.1023, allocations: 211.8 kB / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.359e-05/0.1024, allocations: 107.6 kB / 358.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.1026, allocations: 234.9 kB / 358.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007517/0.1034, allocations: 0.6853 MB / 359 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1034, allocations: 0 / 359 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1034, allocations: 4 kB / 359 MB, free: 11.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.1034, allocations: 4 kB / 359 MB, free: 11.17 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.002023/0.1054, allocations: 0.917 MB / 359.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1055, allocations: 15.89 kB / 359.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.1089, allocations: 491.9 kB / 360.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1092, allocations: 307.6 kB / 360.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.1093, allocations: 37.69 kB / 360.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.1094, allocations: 56.38 kB / 360.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.1103, allocations: 0.5259 MB / 361.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1103, allocations: 0 / 361.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.1104, allocations: 20 kB / 361.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1104, allocations: 12 kB / 361.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.1113, allocations: 0.579 MB / 362 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.114, allocations: 1.882 MB / 363.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.1159, allocations: 2.171 MB / 366 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.1163, allocations: 266.1 kB / 366.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-05/0.1164, allocations: 85.55 kB / 366.4 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1164, allocations: 38.94 kB / 366.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.643e-06/0.1164, allocations: 0 / 366.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001674/0.1181, allocations: 0.7465 MB / 367.1 MB, free: 2.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1182, allocations: 55.84 kB / 367.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1183, allocations: 186.3 kB / 367.4 MB, free: 2.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1184, allocations: 29.7 kB / 367.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1185, allocations: 216.5 kB / 367.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1186, allocations: 165.6 kB / 367.8 MB, free: 1.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.1188, allocations: 86.09 kB / 367.9 MB, free: 1.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1189, allocations: 338.8 kB / 368.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.1191, allocations: 157 kB / 368.3 MB, free: 1.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.1195, allocations: 242.4 kB / 368.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.1201, allocations: 416.8 kB / 369 MB, free: 452 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1201, allocations: 0 / 369 MB, free: 452 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.137/0.2571, allocations: 0.5323 MB / 369.5 MB, free: 25.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2572, allocations: 6.531 kB / 369.5 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.2572, allocations: 2.375 kB / 369.5 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.2575, allocations: 80.73 kB / 369.6 MB, free: 25.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.258, allocations: 98.12 kB / 369.7 MB, free: 25.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.2594, allocations: 1.774 MB / 371.5 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.2598, allocations: 46.05 kB / 371.5 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.2598, allocations: 17.97 kB / 371.5 MB, free: 24.63 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.0001836/0.26, allocations: 170.4 kB / 371.7 MB, free: 24.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.2601, allocations: 24.83 kB / 371.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.2611, allocations: 0.5435 MB / 372.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2612, allocations: 8.531 kB / 372.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2612, allocations: 1.281 kB / 372.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2612, allocations: 3.938 kB / 372.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.2627, allocations: 1.142 MB / 373.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2627, allocations: 4.969 kB / 373.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.2631, allocations: 75.66 kB / 373.5 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/0.2634, allocations: 81.7 kB / 373.6 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.2634, allocations: 9.469 kB / 373.6 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.2647, allocations: 1.772 MB / 375.4 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2647, allocations: 1.656 kB / 375.4 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.2659, allocations: 0.8048 MB / 376.2 MB, free: 21.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.2659, allocations: 112.1 kB / 376.3 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.266, allocations: 13.64 kB / 376.3 MB, free: 21.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2662, allocations: 19.66 kB / 376.3 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.2663, allocations: 36.06 kB / 376.4 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.2664, allocations: 19.7 kB / 376.4 MB, free: 21.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.608e-05/0.2665, allocations: 134.3 kB / 376.5 MB, free: 21.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2665, allocations: 3.938 kB / 376.5 MB, free: 21.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.267, allocations: 150.2 kB / 376.7 MB, free: 21.29 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.0001898/0.2672, allocations: 146.4 kB / 376.8 MB, free: 21.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.2682, allocations: 0.5799 MB / 377.4 MB, free: 20.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2682, allocations: 0 / 377.4 MB, free: 20.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.2688, allocations: 389 kB / 377.8 MB, free: 20.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2691, allocations: 32.2 kB / 377.8 MB, free: 20.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.2703, allocations: 1.018 MB / 378.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2705, allocations: 0.805 MB / 379.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.2708, allocations: 47.39 kB / 379.7 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.2709, allocations: 35.61 kB / 379.7 MB, free: 19.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2709, allocations: 0 / 379.7 MB, free: 19.28 MB / 302.1 MB Notification: Performance of Templates: time 0.008089/0.279, allocations: 4.267 MB / 384 MB, free: 18.96 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/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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches