Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 209.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 250 MB, free: 9.039 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 71.83 kB / 367.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.264, allocations: 53.31 MB / 420.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005112/0.2691, allocations: 3.717 MB / 424.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.2716, allocations: 1.487 MB / 425.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2718, allocations: 12 kB / 425.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.2735, allocations: 0.7506 MB / 426.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.2744, allocations: 400.8 kB / 427 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.2755, allocations: 0.5547 MB / 427.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.276, allocations: 458 kB / 428 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000546/0.2765, allocations: 301.8 kB / 428.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.2768, allocations: 207.2 kB / 428.5 MB, free: 476 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.2772, allocations: 274.9 kB / 428.8 MB, free: 200 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.2772, allocations: 44 kB / 428.8 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.2776, allocations: 215.8 kB / 429 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.2777, allocations: 103.7 kB / 429.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.2779, allocations: 230.9 kB / 429.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008875/0.2788, allocations: 0.6888 MB / 430 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2788, allocations: 0 / 430 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2788, allocations: 0 / 430 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.2789, allocations: 0 / 430 MB, free: 14.92 MB / 350.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.002097/0.2809, allocations: 0.9238 MB / 431 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.281, allocations: 8.031 kB / 431 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.2846, allocations: 0.4884 MB / 431.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.285, allocations: 299.7 kB / 431.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.2851, allocations: 45.69 kB / 431.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.2852, allocations: 48.38 kB / 431.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009674/0.2861, allocations: 0.522 MB / 432.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.2861, allocations: 0 / 432.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.2862, allocations: 20 kB / 432.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.2862, allocations: 15.98 kB / 432.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.2873, allocations: 0.5673 MB / 433 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.2904, allocations: 1.937 MB / 434.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.2928, allocations: 2.145 MB / 437.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.2931, allocations: 182.1 kB / 437.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.2933, allocations: 170.6 kB / 437.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2933, allocations: 35 kB / 437.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.165e-06/0.2933, allocations: 7.938 kB / 437.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001996/0.2953, allocations: 0.7856 MB / 438.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.2953, allocations: 59.78 kB / 438.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2956, allocations: 194.3 kB / 438.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.2956, allocations: 33.7 kB / 438.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.2957, allocations: 221 kB / 438.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.2959, allocations: 170.5 kB / 438.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.296, allocations: 82.25 kB / 439 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2962, allocations: 338.8 kB / 439.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.2965, allocations: 153 kB / 439.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.2969, allocations: 228.8 kB / 439.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/0.2976, allocations: 395.5 kB / 440.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2976, allocations: 0 / 440.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001143/0.2987, allocations: 0.5394 MB / 440.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2987, allocations: 6.5 kB / 440.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2987, allocations: 4 kB / 440.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.2991, allocations: 92.97 kB / 440.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.2995, allocations: 87.89 kB / 440.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.3017, allocations: 2.037 MB / 442.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.3019, allocations: 55.91 kB / 442.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.302, allocations: 16 kB / 442.9 MB, free: 1.129 MB / 350.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.0002081/0.3022, allocations: 170.8 kB / 443.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3022, allocations: 27.81 kB / 443.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3034, allocations: 0.5395 MB / 443.6 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3034, allocations: 8 kB / 443.6 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3034, allocations: 0 / 443.6 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.3034, allocations: 3.984 kB / 443.6 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.3051, allocations: 1.127 MB / 444.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3051, allocations: 3.938 kB / 444.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.3055, allocations: 75.83 kB / 444.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.3057, allocations: 96.75 kB / 444.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.3058, allocations: 4 kB / 444.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.3079, allocations: 2.033 MB / 447 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3079, allocations: 4.062 kB / 447 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.3093, allocations: 0.7933 MB / 447.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.3094, allocations: 112.9 kB / 447.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.3094, allocations: 12 kB / 447.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3096, allocations: 15.98 kB / 447.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.3097, allocations: 32.39 kB / 447.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.3098, allocations: 19.98 kB / 448 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3099, allocations: 131.4 kB / 448.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3099, allocations: 0 / 448.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005761/0.3105, allocations: 155.5 kB / 448.2 MB, free: 11.52 MB / 366.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.0002429/0.3107, allocations: 139.2 kB / 448.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3117, allocations: 0.5385 MB / 448.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3117, allocations: 4 kB / 448.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005839/0.3123, allocations: 357.4 kB / 449.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3127, allocations: 35.97 kB / 449.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.314, allocations: 0.8063 MB / 450.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.3145, allocations: 0.8084 MB / 450.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.3146, allocations: 46.95 kB / 451 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.3147, allocations: 31.44 kB / 451 MB, free: 8.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3147, allocations: 0 / 451 MB, free: 8.68 MB / 366.1 MB Notification: Performance of Templates: time 0.009467/0.3242, allocations: 4.47 MB / 455.5 MB, free: 4.23 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches