Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009904/0.0009905, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.8 MB / 246.9 MB, free: 11.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 8 kB / 307.8 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 51.53 MB / 359.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004398/0.1052, allocations: 3.313 MB / 362.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1079, allocations: 1.468 MB / 364.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1082, allocations: 8 kB / 364.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.1087, allocations: 167.3 kB / 364.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009869/0.1097, allocations: 342.6 kB / 364.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1108, allocations: 0.533 MB / 365.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.1114, allocations: 438 kB / 365.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.1127, allocations: 0.7157 MB / 366.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.1131, allocations: 179.2 kB / 366.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.1134, allocations: 235 kB / 366.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.1135, allocations: 20 kB / 366.7 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.1139, allocations: 187.8 kB / 366.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.114, allocations: 79.61 kB / 367 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.1143, allocations: 232.5 kB / 367.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.1151, allocations: 0.6501 MB / 367.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1151, allocations: 0 / 367.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1151, allocations: 4 kB / 367.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1151, allocations: 0 / 367.9 MB, free: 4.645 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.002285/0.1174, allocations: 0.8234 MB / 368.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1175, allocations: 8.031 kB / 368.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/0.1212, allocations: 475.9 kB / 369.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.1217, allocations: 307.6 kB / 369.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.1217, allocations: 37.69 kB / 369.5 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1218, allocations: 56.28 kB / 369.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1229, allocations: 0.522 MB / 370.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.123, allocations: 0 / 370.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.123, allocations: 20 kB / 370.1 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.123, allocations: 12 kB / 370.1 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.1242, allocations: 0.5868 MB / 370.7 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1599/0.2841, allocations: 1.961 MB / 372.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.286, allocations: 2.191 MB / 374.8 MB, free: 16.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.2863, allocations: 220.3 kB / 375.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.2865, allocations: 180.7 kB / 375.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2865, allocations: 40.27 kB / 375.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/0.2865, allocations: 0 / 375.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002155/0.2887, allocations: 0.8091 MB / 376.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2887, allocations: 63.77 kB / 376.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2889, allocations: 183.3 kB / 376.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.2889, allocations: 33.73 kB / 376.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2891, allocations: 222.1 kB / 376.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.2892, allocations: 161 kB / 376.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.2893, allocations: 42.52 kB / 376.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.2893, allocations: 340 kB / 377.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.2897, allocations: 159.3 kB / 377.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.29, allocations: 232.6 kB / 377.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.2907, allocations: 412.1 kB / 377.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2907, allocations: 3.969 kB / 377.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001044/0.2918, allocations: 0.5502 MB / 378.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2918, allocations: 7.172 kB / 378.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2918, allocations: 1.156 kB / 378.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.2922, allocations: 95.52 kB / 378.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.2925, allocations: 92.92 kB / 378.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.2941, allocations: 1.848 MB / 380.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.2944, allocations: 49.2 kB / 380.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.2945, allocations: 19.11 kB / 380.6 MB, free: 13.08 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.2947, allocations: 163.1 kB / 380.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.2947, allocations: 23.31 kB / 380.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.2958, allocations: 0.5665 MB / 381.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2959, allocations: 4.812 kB / 381.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2959, allocations: 1.875 kB / 381.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.2959, allocations: 3.906 kB / 381.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.2974, allocations: 1.141 MB / 382.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2975, allocations: 4.375 kB / 382.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.2978, allocations: 79.22 kB / 382.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.2981, allocations: 83.94 kB / 382.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.2981, allocations: 13.55 kB / 382.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.2996, allocations: 1.853 MB / 384.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2996, allocations: 0 / 384.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3008, allocations: 0.8179 MB / 385.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.3009, allocations: 111.9 kB / 385.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.3009, allocations: 10.56 kB / 385.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.3012, allocations: 18.03 kB / 385.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.3013, allocations: 33.92 kB / 385.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3013, allocations: 15.31 kB / 385.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.981e-05/0.3014, allocations: 136.1 kB / 385.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3014, allocations: 0 / 385.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005651/0.302, allocations: 147.8 kB / 385.8 MB, free: 9.656 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002156/0.3022, allocations: 142.5 kB / 385.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3032, allocations: 0.5833 MB / 386.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3032, allocations: 0 / 386.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.3038, allocations: 388.7 kB / 386.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3041, allocations: 35.95 kB / 386.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3054, allocations: 1.045 MB / 387.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3056, allocations: 0.8062 MB / 388.8 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000198/0.3058, allocations: 48.33 kB / 388.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.3059, allocations: 34.16 kB / 388.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3059, allocations: 5.25 kB / 388.8 MB, free: 7.637 MB / 302.1 MB Notification: Performance of Templates: time 0.008535/0.3145, allocations: 3.959 MB / 392.8 MB, free: 7.129 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches