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.0007544/0.0007545, allocations: 94.59 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009012/0.0009013, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 247.5 MB, free: 9.512 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002158/0.0002156, allocations: 4 kB / 308.4 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09151, allocations: 51.53 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003488/0.09504, allocations: 3.309 MB / 363.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.09728, allocations: 1.464 MB / 364.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.09745, allocations: 12 kB / 364.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.09787, allocations: 159.4 kB / 364.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008257/0.0987, allocations: 338.6 kB / 365.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.09962, allocations: 0.5296 MB / 365.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.1, allocations: 434.1 kB / 366.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.1013, allocations: 0.7916 MB / 366.9 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.1016, allocations: 183.2 kB / 367.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1019, allocations: 239 kB / 367.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.1019, allocations: 20 kB / 367.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.1023, allocations: 183.9 kB / 367.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1023, allocations: 79.61 kB / 367.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1025, allocations: 236.5 kB / 367.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.103, allocations: 0.5219 MB / 368.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.103, allocations: 0 / 368.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.103, allocations: 0 / 368.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1031, allocations: 0 / 368.4 MB, free: 4.551 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.001809/0.1049, allocations: 0.8234 MB / 369.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1049, allocations: 8.031 kB / 369.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.1083, allocations: 0.4998 MB / 369.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1086, allocations: 303.7 kB / 370 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.1087, allocations: 41.62 kB / 370 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.34e-05/0.1088, allocations: 52.28 kB / 370.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.1097, allocations: 0.5415 MB / 370.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1097, allocations: 3.984 kB / 370.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.1098, allocations: 20 kB / 370.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1098, allocations: 12 kB / 370.7 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009781/0.1108, allocations: 0.5829 MB / 371.3 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1746/0.2854, allocations: 1.956 MB / 373.2 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.2873, allocations: 2.173 MB / 375.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.2879, allocations: 262.6 kB / 375.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.288, allocations: 176.4 kB / 375.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.2881, allocations: 45.48 kB / 375.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 4.067e-06/0.2881, allocations: 0.8125 kB / 375.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001986/0.2901, allocations: 0.7545 MB / 376.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.2901, allocations: 57.56 kB / 376.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.2903, allocations: 188.2 kB / 376.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.2904, allocations: 34.05 kB / 376.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.2905, allocations: 223.1 kB / 377.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.2907, allocations: 159.8 kB / 377.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.2908, allocations: 43.42 kB / 377.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.2908, allocations: 336.7 kB / 377.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.2912, allocations: 157.3 kB / 377.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.2915, allocations: 250.2 kB / 378 MB, free: 14.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/0.2923, allocations: 427.1 kB / 378.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2923, allocations: 0.8438 kB / 378.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001085/0.2934, allocations: 0.5436 MB / 379 MB, free: 14.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2934, allocations: 12.36 kB / 379 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2934, allocations: 2.75 kB / 379 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.2938, allocations: 84.17 kB / 379.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.2942, allocations: 96.88 kB / 379.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.2957, allocations: 1.645 MB / 380.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.296, allocations: 54.73 kB / 380.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.2961, allocations: 19.2 kB / 380.9 MB, free: 12.79 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.0002179/0.2963, allocations: 170 kB / 381.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.2964, allocations: 28.59 kB / 381.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.2975, allocations: 0.5535 MB / 381.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2975, allocations: 5.781 kB / 381.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2975, allocations: 1.5 kB / 381.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.2975, allocations: 4.922 kB / 381.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.2996, allocations: 1.154 MB / 382.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2996, allocations: 1.25 kB / 382.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.2999, allocations: 90.97 kB / 382.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002847/0.3002, allocations: 78.06 kB / 383 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.3003, allocations: 9.547 kB / 383 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.3017, allocations: 1.64 MB / 384.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3017, allocations: 2.312 kB / 384.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.303, allocations: 0.8223 MB / 385.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.3031, allocations: 105.7 kB / 385.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.3031, allocations: 12.08 kB / 385.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.3034, allocations: 30.31 kB / 385.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.3035, allocations: 43.12 kB / 385.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.3035, allocations: 12.09 kB / 385.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.3036, allocations: 131.9 kB / 385.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3036, allocations: 0 / 385.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005618/0.3042, allocations: 154.4 kB / 385.9 MB, free: 9.473 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.0002186/0.3044, allocations: 139.7 kB / 386.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.3055, allocations: 0.5734 MB / 386.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3055, allocations: 0 / 386.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.3061, allocations: 390.4 kB / 387 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3065, allocations: 32.55 kB / 387.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.308, allocations: 1.102 MB / 388.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.3083, allocations: 0.8052 MB / 389 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3085, allocations: 33.78 kB / 389 MB, free: 7.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3085, allocations: 0 / 389 MB, free: 7.43 MB / 302.1 MB Notification: Performance of Templates: time 0.01123/0.3197, allocations: 6.297 MB / 395.3 MB, free: 5.656 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/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