Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 113.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001642, allocations: 189.3 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 55.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1048, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005026/0.1099, allocations: 3.75 MB / 379.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.177/0.2869, allocations: 1.457 MB / 381 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2872, allocations: 8.25 kB / 381 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.2888, allocations: 0.7563 MB / 381.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.2899, allocations: 0.5641 MB / 382.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.2907, allocations: 422.3 kB / 382.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.2912, allocations: 498.8 kB / 383.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007392/0.2919, allocations: 469.6 kB / 383.7 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.2923, allocations: 232.7 kB / 383.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.2926, allocations: 285.5 kB / 384.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-05/0.2926, allocations: 45.91 kB / 384.3 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.2931, allocations: 213 kB / 384.5 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.2932, allocations: 120 kB / 384.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.2933, allocations: 251.1 kB / 384.8 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007742/0.2941, allocations: 0.7116 MB / 385.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2941, allocations: 3.938 kB / 385.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2941, allocations: 0 / 385.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.2942, allocations: 0 / 385.5 MB, free: 8.852 MB / 318.1 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.00196/0.2961, allocations: 0.9449 MB / 386.5 MB, free: 8.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2962, allocations: 13.5 kB / 386.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/0.3004, allocations: 0.5815 MB / 387.1 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.3008, allocations: 317.6 kB / 387.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.3009, allocations: 41.38 kB / 387.4 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/0.301, allocations: 58.45 kB / 387.5 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009875/0.302, allocations: 0.5709 MB / 388.1 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.302, allocations: 1.156 kB / 388.1 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.3021, allocations: 24.22 kB / 388.1 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.3021, allocations: 17.73 kB / 388.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3032, allocations: 0.6473 MB / 388.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.306, allocations: 2.041 MB / 390.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.3078, allocations: 3.015 MB / 393.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.3083, allocations: 268.5 kB / 394.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.3084, allocations: 92.31 kB / 394.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3084, allocations: 44.56 kB / 394.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.3084, allocations: 0 / 394.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001635/0.31, allocations: 0.7439 MB / 394.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.3101, allocations: 61 kB / 395 MB, free: 2.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.3103, allocations: 206.3 kB / 395.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.3103, allocations: 35.98 kB / 395.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.3104, allocations: 242.2 kB / 395.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/0.3105, allocations: 166.5 kB / 395.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.3106, allocations: 93.34 kB / 395.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.3107, allocations: 341.8 kB / 396.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.311, allocations: 159.4 kB / 396.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.3114, allocations: 286 kB / 396.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.312, allocations: 487.7 kB / 397 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.312, allocations: 1.5 kB / 397 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001004/0.313, allocations: 0.583 MB / 397.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.313, allocations: 7.219 kB / 397.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3131, allocations: 3.969 kB / 397.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.3134, allocations: 79.28 kB / 397.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.3138, allocations: 115.6 kB / 397.8 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.3155, allocations: 1.768 MB / 399.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.3159, allocations: 55.58 kB / 399.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3159, allocations: 22.91 kB / 399.6 MB, free: 14.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.3161, allocations: 171.8 kB / 399.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.3162, allocations: 33.36 kB / 399.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.3173, allocations: 0.5543 MB / 400.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3173, allocations: 3.5 kB / 400.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3173, allocations: 9.188 kB / 400.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3174, allocations: 2.578 kB / 400.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3191, allocations: 1.168 MB / 401.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3191, allocations: 1.5 kB / 401.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3195, allocations: 82.06 kB / 401.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.3197, allocations: 82.64 kB / 401.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.3198, allocations: 8.828 kB / 401.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.3214, allocations: 1.778 MB / 403.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3214, allocations: 1.375 kB / 403.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.3228, allocations: 0.8185 MB / 404.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.3229, allocations: 115.7 kB / 404.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.323, allocations: 7.5 kB / 404.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.3232, allocations: 20.91 kB / 404.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.3233, allocations: 39.06 kB / 404.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.3234, allocations: 19.97 kB / 404.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3235, allocations: 144.3 kB / 404.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3235, allocations: 0 / 404.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005787/0.3241, allocations: 159.5 kB / 404.8 MB, free: 11.35 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/0.3243, allocations: 133.6 kB / 404.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.3255, allocations: 0.596 MB / 405.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3255, allocations: 0 / 405.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.3261, allocations: 385.6 kB / 405.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.3265, allocations: 44.33 kB / 406 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3279, allocations: 0.8902 MB / 406.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3283, allocations: 0.8148 MB / 407.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3285, allocations: 41.14 kB / 407.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3285, allocations: 4 kB / 407.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of Templates: time 0.008744/0.3372, allocations: 6.674 MB / 414.4 MB, free: 6.387 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches