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.001082/0.001082, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 60.34 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.09081, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005106/0.09594, allocations: 3.698 MB / 362.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.09853, allocations: 1.483 MB / 364.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.09889, allocations: 8 kB / 364.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.1007, allocations: 0.7701 MB / 364.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009741/0.1017, allocations: 377.3 kB / 365.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1028, allocations: 0.5554 MB / 365.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.1034, allocations: 466 kB / 366.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006821/0.1041, allocations: 385.8 kB / 366.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.1045, allocations: 207.1 kB / 366.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.1049, allocations: 267 kB / 367.1 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.459e-05/0.105, allocations: 44 kB / 367.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004257/0.1054, allocations: 207.8 kB / 367.3 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.887e-05/0.1055, allocations: 111.6 kB / 367.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.1057, allocations: 230.8 kB / 367.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.1064, allocations: 0.6853 MB / 368.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1064, allocations: 4 kB / 368.3 MB, free: 3.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1064, allocations: 0 / 368.3 MB, free: 3.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1064, allocations: 0 / 368.3 MB, free: 3.863 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.001952/0.1084, allocations: 0.9053 MB / 369.3 MB, free: 2.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1084, allocations: 8.031 kB / 369.3 MB, free: 2.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/0.112, allocations: 0.492 MB / 369.8 MB, free: 2.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.1124, allocations: 299.7 kB / 370 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.1125, allocations: 41.69 kB / 370.1 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.1125, allocations: 52.38 kB / 370.1 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.1134, allocations: 0.522 MB / 370.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1134, allocations: 0 / 370.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.1135, allocations: 20 kB / 370.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1135, allocations: 12 kB / 370.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1145, allocations: 0.5634 MB / 371.3 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.163/0.2776, allocations: 1.934 MB / 373.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.2806, allocations: 2.182 MB / 375.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.2813, allocations: 218.9 kB / 375.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.2815, allocations: 174.4 kB / 375.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2816, allocations: 37.91 kB / 375.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.877e-06/0.2816, allocations: 0 / 375.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.00353/0.2852, allocations: 0.7932 MB / 376.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2852, allocations: 56.88 kB / 376.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.2856, allocations: 192 kB / 376.8 MB, free: 16.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.2856, allocations: 31.36 kB / 376.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.2858, allocations: 224.5 kB / 377.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.286, allocations: 157 kB / 377.2 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.2863, allocations: 91.56 kB / 377.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2864, allocations: 332.9 kB / 377.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.287, allocations: 153.5 kB / 377.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.2876, allocations: 223.1 kB / 378 MB, free: 15.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.2888, allocations: 400.5 kB / 378.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2888, allocations: 5.5 kB / 378.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002032/0.2908, allocations: 0.5338 MB / 378.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.2909, allocations: 7.562 kB / 378.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.2909, allocations: 4.125 kB / 379 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/0.2916, allocations: 90.77 kB / 379 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.2924, allocations: 89.97 kB / 379.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.2956, allocations: 2.04 MB / 381.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.2961, allocations: 52.98 kB / 381.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.2961, allocations: 17.7 kB / 381.2 MB, free: 13.16 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.0002926/0.2964, allocations: 166 kB / 381.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.2966, allocations: 28.06 kB / 381.4 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.2985, allocations: 0.5453 MB / 382 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2986, allocations: 5 kB / 382 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.2986, allocations: 1.5 kB / 382 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2986, allocations: 5.781 kB / 382 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.3015, allocations: 1.12 MB / 383.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.3016, allocations: 6.391 kB / 383.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.3022, allocations: 76.94 kB / 383.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.3027, allocations: 92.91 kB / 383.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.3028, allocations: 16.06 kB / 383.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.3055, allocations: 2.031 MB / 385.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3056, allocations: 4.219 kB / 385.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.3079, allocations: 0.7925 MB / 386.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.593e-05/0.308, allocations: 106.8 kB / 386.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.3081, allocations: 12.27 kB / 386.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.3085, allocations: 23.94 kB / 386.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.3087, allocations: 32.48 kB / 386.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.3088, allocations: 15.03 kB / 386.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3089, allocations: 131.1 kB / 386.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.309, allocations: 0 / 386.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00106/0.31, allocations: 156 kB / 386.6 MB, free: 9.57 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.0003172/0.3104, allocations: 140.4 kB / 386.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.3121, allocations: 0.5614 MB / 387.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3122, allocations: 0.6562 kB / 387.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009461/0.3131, allocations: 390.6 kB / 387.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.3137, allocations: 28.88 kB / 387.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3159, allocations: 0.8038 MB / 388.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.3163, allocations: 0.81 MB / 389.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.3166, allocations: 48.66 kB / 389.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3168, allocations: 31.02 kB / 389.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3168, allocations: 0 / 389.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of Templates: time 0.01697/0.3338, allocations: 4.319 MB / 393.7 MB, free: 7.012 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/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