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.0009004/0.0009005, allocations: 97.25 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009241/0.0009242, allocations: 200 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 4 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004037/0.1213, allocations: 2.992 MB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1236, allocations: 1.36 MB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.124, allocations: 8 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.1244, allocations: 131.3 kB / 362.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.1255, allocations: 331 kB / 362.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.1265, allocations: 463.9 kB / 363.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.127, allocations: 319.3 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.1282, allocations: 0.6327 MB / 364.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.1285, allocations: 167.3 kB / 364.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1288, allocations: 215.2 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.1289, allocations: 20 kB / 364.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.1293, allocations: 163.7 kB / 364.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.1293, allocations: 79.72 kB / 364.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.109e-05/0.1294, allocations: 101.5 kB / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005482/0.13, allocations: 0.5067 MB / 365.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.13, allocations: 0 / 365.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.13, allocations: 0 / 365.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.13, allocations: 4 kB / 365.5 MB, free: 6.434 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.001939/0.132, allocations: 0.8271 MB / 366.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.132, allocations: 8.031 kB / 366.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/0.1355, allocations: 498.9 kB / 366.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.1359, allocations: 302.4 kB / 367.1 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.1359, allocations: 41.27 kB / 367.2 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.136, allocations: 52 kB / 367.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.1369, allocations: 0.514 MB / 367.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1369, allocations: 0 / 367.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.1369, allocations: 24 kB / 367.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.137, allocations: 12 kB / 367.8 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009546/0.1379, allocations: 0.5751 MB / 368.3 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.1406, allocations: 1.96 MB / 370.3 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1524/0.2931, allocations: 2.18 MB / 372.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.2933, allocations: 171.7 kB / 372.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2933, allocations: 37.72 kB / 372.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.725e-06/0.2934, allocations: 0.6875 kB / 372.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002155/0.2955, allocations: 0.7979 MB / 373.5 MB, free: 16.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.2956, allocations: 58.03 kB / 373.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2957, allocations: 185.9 kB / 373.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.2958, allocations: 36.45 kB / 373.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2959, allocations: 224.1 kB / 374 MB, free: 16.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.296, allocations: 157.2 kB / 374.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.296, allocations: 9.25 kB / 374.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.2961, allocations: 344.9 kB / 374.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.2964, allocations: 155.5 kB / 374.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.2967, allocations: 225.6 kB / 374.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.2971, allocations: 187.6 kB / 375 MB, free: 15.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.2971, allocations: 0.6562 kB / 375 MB, free: 15.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001133/0.2982, allocations: 0.5421 MB / 375.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2983, allocations: 5.25 kB / 375.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2983, allocations: 2.297 kB / 375.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.2987, allocations: 88.92 kB / 375.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2991, allocations: 94.53 kB / 375.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.3008, allocations: 1.873 MB / 377.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3011, allocations: 50.3 kB / 377.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.3011, allocations: 18.53 kB / 377.7 MB, free: 14.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.3013, allocations: 161.7 kB / 377.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.3014, allocations: 24.16 kB / 377.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3024, allocations: 0.5567 MB / 378.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3024, allocations: 5.25 kB / 378.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3024, allocations: 1.188 kB / 378.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3025, allocations: 7.094 kB / 378.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.3041, allocations: 1.135 MB / 379.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3041, allocations: 0.6094 kB / 379.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.3044, allocations: 86.55 kB / 379.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/0.3047, allocations: 96.66 kB / 379.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.3048, allocations: 11.55 kB / 379.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.3063, allocations: 1.855 MB / 381.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3063, allocations: 0 / 381.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.3075, allocations: 0.8131 MB / 382.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.3076, allocations: 103.5 kB / 382.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.3076, allocations: 11.77 kB / 382.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3079, allocations: 17.56 kB / 382.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.308, allocations: 33.41 kB / 382.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.308, allocations: 15.66 kB / 382.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.3081, allocations: 134.9 kB / 382.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3081, allocations: 4.062 kB / 382.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.3087, allocations: 151.5 kB / 382.9 MB, free: 11 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002067/0.3089, allocations: 142 kB / 383.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009305/0.3099, allocations: 0.5747 MB / 383.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3099, allocations: 0 / 383.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.3104, allocations: 382.6 kB / 384 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.3106, allocations: 29.95 kB / 384 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.3119, allocations: 0.9967 MB / 385 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3122, allocations: 0.8217 MB / 385.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.3124, allocations: 50.05 kB / 385.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.3125, allocations: 29.27 kB / 385.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3125, allocations: 0 / 385.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of Templates: time 0.008333/0.3208, allocations: 3.939 MB / 389.9 MB, free: 8.746 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.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches