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.0015/0.001499, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001909, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2433, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004797/0.2481, allocations: 3.701 MB / 412.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.2506, allocations: 1.483 MB / 414.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.2509, allocations: 8 kB / 414.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.2527, allocations: 0.7581 MB / 415.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009834/0.2537, allocations: 382 kB / 415.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.2548, allocations: 0.5531 MB / 416.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.2553, allocations: 454 kB / 416.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.256, allocations: 397.7 kB / 416.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.2563, allocations: 211.2 kB / 417.2 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.2567, allocations: 270.9 kB / 417.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.2567, allocations: 40 kB / 417.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.2572, allocations: 219.8 kB / 417.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.2573, allocations: 103.6 kB / 417.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.2575, allocations: 230.9 kB / 418 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.2582, allocations: 0.6865 MB / 418.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.2583, allocations: 0 / 418.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2583, allocations: 0 / 418.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.2583, allocations: 0 / 418.7 MB, free: 8.102 MB / 334.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.002069/0.2604, allocations: 0.9015 MB / 419.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2604, allocations: 12.03 kB / 419.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.264, allocations: 495.9 kB / 420.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.2644, allocations: 307.6 kB / 420.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.2645, allocations: 45.62 kB / 420.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.2646, allocations: 48.38 kB / 420.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.2655, allocations: 0.5181 MB / 421 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.2655, allocations: 4 kB / 421 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.2656, allocations: 20 kB / 421 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2656, allocations: 19.94 kB / 421 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/0.2666, allocations: 0.5634 MB / 421.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.2693, allocations: 1.936 MB / 423.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.2713, allocations: 2.18 MB / 425.7 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.2717, allocations: 214.1 kB / 425.9 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.2718, allocations: 174.6 kB / 426.1 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.2719, allocations: 35.08 kB / 426.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.813e-06/0.2719, allocations: 0 / 426.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001897/0.2738, allocations: 0.7971 MB / 426.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2738, allocations: 63.78 kB / 427 MB, free: 15.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.274, allocations: 182.3 kB / 427.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.274, allocations: 41.7 kB / 427.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2742, allocations: 212.5 kB / 427.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2743, allocations: 157.6 kB / 427.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.2744, allocations: 90.16 kB / 427.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2745, allocations: 338.8 kB / 428 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.2748, allocations: 145.1 kB / 428.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.2752, allocations: 236.8 kB / 428.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.2759, allocations: 391.5 kB / 428.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2759, allocations: 4 kB / 428.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001013/0.2769, allocations: 0.5316 MB / 429.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2769, allocations: 4 kB / 429.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2769, allocations: 4 kB / 429.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.2773, allocations: 92.86 kB / 429.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.2777, allocations: 91.89 kB / 429.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.2797, allocations: 2.041 MB / 431.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.2799, allocations: 51.52 kB / 431.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.28, allocations: 20.06 kB / 431.6 MB, free: 10.26 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.0001824/0.2802, allocations: 169.7 kB / 431.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.2802, allocations: 23.72 kB / 431.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.2814, allocations: 0.5473 MB / 432.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2814, allocations: 4 kB / 432.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2814, allocations: 0 / 432.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2814, allocations: 7.984 kB / 432.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.2831, allocations: 1.127 MB / 433.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2831, allocations: 3.938 kB / 433.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.2835, allocations: 75.78 kB / 433.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.2838, allocations: 96.8 kB / 433.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.2838, allocations: 4 kB / 433.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.2858, allocations: 2.026 MB / 435.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2858, allocations: 8 kB / 435.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.2871, allocations: 0.797 MB / 436.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.2872, allocations: 112.7 kB / 436.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.2872, allocations: 12 kB / 436.6 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.2875, allocations: 19.98 kB / 436.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.2876, allocations: 40.38 kB / 436.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.2876, allocations: 8 kB / 436.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.2877, allocations: 139.2 kB / 436.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2877, allocations: 0 / 436.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005717/0.2883, allocations: 143.6 kB / 436.9 MB, free: 4.656 MB / 350.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.000228/0.2885, allocations: 139.2 kB / 437.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009924/0.2896, allocations: 0.5698 MB / 437.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2896, allocations: 0 / 437.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.2901, allocations: 381.4 kB / 438 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2904, allocations: 31.36 kB / 438 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2918, allocations: 0.8071 MB / 438.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.2922, allocations: 0.8006 MB / 439.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.2924, allocations: 46.97 kB / 439.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.2925, allocations: 35.42 kB / 439.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2925, allocations: 0 / 439.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Templates: time 0.008933/0.3014, allocations: 4.401 MB / 444.1 MB, free: 13.38 MB / 366.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","/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