Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00175/0.001751, allocations: 185.6 kB / 17.41 MB, free: 4.258 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.916/2.916, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 90.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005604/0.0005606, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4483, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.605, allocations: 81.46 MB / 457.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004256/0.6055, allocations: 87.95 kB / 457.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0687/0.6742, allocations: 16.16 MB / 473.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6743, allocations: 0 / 473.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.6743, allocations: 8 kB / 473.4 MB, free: 14.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.0028/0.6772, allocations: 0.7646 MB / 474.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.6772, allocations: 8.031 kB / 474.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005487/0.6827, allocations: 443.9 kB / 474.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.6836, allocations: 323.6 kB / 475 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/0.6837, allocations: 37.69 kB / 475 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.6839, allocations: 60.38 kB / 475.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.6858, allocations: 0.5498 MB / 475.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.6859, allocations: 7.938 kB / 475.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.686, allocations: 28 kB / 475.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.686, allocations: 12 kB / 475.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.6882, allocations: 0.6376 MB / 476.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005538/0.6937, allocations: 2.066 MB / 478.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/0.6983, allocations: 3.023 MB / 481.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007818/0.6991, allocations: 226.1 kB / 481.6 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.6993, allocations: 85.55 kB / 481.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.6994, allocations: 42.98 kB / 481.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 6.422e-06/0.6994, allocations: 0 / 481.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.003374/0.7028, allocations: 0.8012 MB / 482.5 MB, free: 4.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.7029, allocations: 63.72 kB / 482.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.7032, allocations: 208.4 kB / 482.8 MB, free: 4.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.7033, allocations: 37.7 kB / 482.8 MB, free: 4.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.7036, allocations: 236.1 kB / 483.1 MB, free: 4.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.7038, allocations: 169.5 kB / 483.2 MB, free: 4.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.7038, allocations: 12 kB / 483.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.704, allocations: 338.8 kB / 483.6 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.7046, allocations: 161 kB / 483.7 MB, free: 3.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.7052, allocations: 278 kB / 484 MB, free: 3.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.7064, allocations: 476.5 kB / 484.5 MB, free: 2.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.7065, allocations: 0 / 484.5 MB, free: 2.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001962/0.7084, allocations: 0.5863 MB / 485 MB, free: 2.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.7085, allocations: 4 kB / 485 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.7085, allocations: 4 kB / 485.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/0.7091, allocations: 100.9 kB / 485.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.7098, allocations: 107.9 kB / 485.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.713, allocations: 1.85 MB / 487.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.7136, allocations: 51.44 kB / 487.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.7136, allocations: 23.98 kB / 487.2 MB, free: 15.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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.0003916/0.714, allocations: 177.7 kB / 487.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.7142, allocations: 23.72 kB / 487.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.716, allocations: 0.5629 MB / 487.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.716, allocations: 4 kB / 487.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7161, allocations: 0 / 487.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.7161, allocations: 4 kB / 487.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.719, allocations: 1.149 MB / 489.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.719, allocations: 0 / 489.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.7196, allocations: 80.08 kB / 489.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.7201, allocations: 96.67 kB / 489.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.7201, allocations: 8 kB / 489.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003071/0.7232, allocations: 1.85 MB / 491.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7233, allocations: 0 / 491.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.7256, allocations: 0.8076 MB / 491.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.7258, allocations: 116.7 kB / 492 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.7259, allocations: 23.94 kB / 492.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.7263, allocations: 19.98 kB / 492.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.7265, allocations: 32.39 kB / 492.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/0.7266, allocations: 16 kB / 492.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002431/0.7268, allocations: 148.1 kB / 492.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7268, allocations: 0 / 492.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001239/0.7281, allocations: 167.5 kB / 492.4 MB, free: 10.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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 (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.000393/0.7285, allocations: 139.2 kB / 492.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.7306, allocations: 0.6014 MB / 493.2 MB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7306, allocations: 0 / 493.2 MB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.7317, allocations: 392.9 kB / 493.6 MB, free: 9.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.7325, allocations: 38.28 kB / 493.6 MB, free: 9.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.7356, allocations: 1.102 MB / 494.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/0.7363, allocations: 0.8252 MB / 495.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.7365, allocations: 35.44 kB / 495.6 MB, free: 7.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7366, allocations: 0 / 495.6 MB, free: 7.133 MB / 378.7 MB Notification: Performance of Templates: time 0.01696/0.7535, allocations: 6.539 MB / 0.4903 GB, free: 0.5898 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches