Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001842/0.001842, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002224/0.002224, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 65.3 kB / 307.9 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09687, allocations: 50.54 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005319/0.1022, allocations: 3.7 MB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.1048, allocations: 1.483 MB / 363.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.105, allocations: 12 kB / 363.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.1067, allocations: 0.7506 MB / 364.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008365/0.1076, allocations: 386 kB / 364.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1086, allocations: 0.5497 MB / 365.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.1092, allocations: 466 kB / 365.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.1099, allocations: 466.2 kB / 366.2 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.1103, allocations: 223.2 kB / 366.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.1106, allocations: 274.9 kB / 366.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.1107, allocations: 44 kB / 366.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.1111, allocations: 207.9 kB / 367 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.994e-05/0.1113, allocations: 119.6 kB / 367.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.1115, allocations: 230.9 kB / 367.3 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008094/0.1123, allocations: 0.6892 MB / 368 MB, free: 4.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1123, allocations: 0 / 368 MB, free: 4.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1123, allocations: 4 kB / 368 MB, free: 4.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.1124, allocations: 0 / 368 MB, free: 4.352 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.002222/0.1146, allocations: 0.917 MB / 368.9 MB, free: 3.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1146, allocations: 16.03 kB / 368.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/0.1182, allocations: 499.9 kB / 369.4 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.1186, allocations: 295.7 kB / 369.7 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.1187, allocations: 49.69 kB / 369.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.1188, allocations: 48.38 kB / 369.8 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/0.1198, allocations: 0.5298 MB / 370.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1198, allocations: 4 kB / 370.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.1198, allocations: 20 kB / 370.3 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1199, allocations: 12 kB / 370.4 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.121, allocations: 0.579 MB / 370.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1491/0.2701, allocations: 1.95 MB / 372.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.2719, allocations: 2.174 MB / 375.1 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.2724, allocations: 263.5 kB / 375.3 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.2725, allocations: 179.9 kB / 375.5 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2726, allocations: 37.16 kB / 375.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/0.2726, allocations: 0 / 375.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001774/0.2743, allocations: 0.7443 MB / 376.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2744, allocations: 59.23 kB / 376.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2746, allocations: 189 kB / 376.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2746, allocations: 31.8 kB / 376.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.2747, allocations: 223.8 kB / 376.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.2748, allocations: 160.3 kB / 376.9 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2749, allocations: 84.47 kB / 377 MB, free: 16.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.275, allocations: 339.8 kB / 377.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.2753, allocations: 152.9 kB / 377.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.2757, allocations: 238.8 kB / 377.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.2763, allocations: 419.5 kB / 378.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2763, allocations: 0 / 378.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009713/0.2773, allocations: 0.5344 MB / 378.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2773, allocations: 5.5 kB / 378.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2773, allocations: 3.359 kB / 378.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.2777, allocations: 80.02 kB / 378.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.2781, allocations: 95.31 kB / 378.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.2795, allocations: 1.784 MB / 380.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.2798, allocations: 47.86 kB / 380.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.2799, allocations: 19.89 kB / 380.7 MB, free: 13.44 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.000182/0.2801, allocations: 161.7 kB / 380.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.2801, allocations: 24 kB / 380.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.2812, allocations: 0.5441 MB / 381.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2812, allocations: 11.3 kB / 381.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2813, allocations: 1.797 kB / 381.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2813, allocations: 2.531 kB / 381.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.2829, allocations: 1.149 MB / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2829, allocations: 0 / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.2832, allocations: 81.5 kB / 382.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/0.2835, allocations: 77.77 kB / 382.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.2835, allocations: 15.25 kB / 382.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.2849, allocations: 1.774 MB / 384.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2849, allocations: 1.828 kB / 384.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.2862, allocations: 0.7999 MB / 385.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.2863, allocations: 107.4 kB / 385.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.2863, allocations: 11.64 kB / 385.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.2865, allocations: 16.59 kB / 385.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.2866, allocations: 41.39 kB / 385.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.2867, allocations: 11.66 kB / 385.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2868, allocations: 143.2 kB / 385.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2868, allocations: 0 / 385.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005627/0.2874, allocations: 146.3 kB / 385.8 MB, free: 10.02 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.0002196/0.2876, allocations: 147.3 kB / 385.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.2888, allocations: 0.5895 MB / 386.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2888, allocations: 2.188 kB / 386.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.2894, allocations: 384.8 kB / 386.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.2898, allocations: 28.19 kB / 386.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.2911, allocations: 0.8456 MB / 387.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2914, allocations: 0.8086 MB / 388.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2915, allocations: 38.81 kB / 388.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2915, allocations: 0 / 388.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of Templates: time 0.009319/0.3009, allocations: 6.34 MB / 395 MB, free: 6.328 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches