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.001517/0.001517, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001753/0.001753, allocations: 188.2 kB / 18.67 MB, free: 4.414 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.49/1.49, allocations: 205.1 MB / 224.5 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.001122/0.001122, allocations: 47.94 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1099, allocations: 46.61 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005297/0.1152, allocations: 3.742 MB / 378.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1848/0.3, allocations: 1.458 MB / 380.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.3003, allocations: 8.969 kB / 380.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.3019, allocations: 0.7607 MB / 381.1 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.303, allocations: 0.5648 MB / 381.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.3037, allocations: 425.4 kB / 382.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.3042, allocations: 499.7 kB / 382.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007099/0.3049, allocations: 469.6 kB / 383 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.3052, allocations: 229.6 kB / 383.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.3055, allocations: 289.4 kB / 383.5 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.3056, allocations: 46.94 kB / 383.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.306, allocations: 207.6 kB / 383.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.3061, allocations: 118.4 kB / 383.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3062, allocations: 251.6 kB / 384.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.307, allocations: 0.7157 MB / 384.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.307, allocations: 0 / 384.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.307, allocations: 0 / 384.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.307, allocations: 0 / 384.9 MB, free: 8.812 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.001899/0.3089, allocations: 0.948 MB / 385.8 MB, free: 8.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.309, allocations: 9.656 kB / 385.8 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/0.3131, allocations: 0.5878 MB / 386.4 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3134, allocations: 317.3 kB / 386.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.3135, allocations: 41.03 kB / 386.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.73e-05/0.3136, allocations: 57.5 kB / 386.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/0.3145, allocations: 0.5668 MB / 387.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.3146, allocations: 0.7969 kB / 387.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.3146, allocations: 29.09 kB / 387.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.3146, allocations: 13.59 kB / 387.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.3157, allocations: 0.6402 MB / 388.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.3185, allocations: 2.049 MB / 390.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.3204, allocations: 3.007 MB / 393.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.3209, allocations: 272.7 kB / 393.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-05/0.3209, allocations: 91.41 kB / 393.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.321, allocations: 44.78 kB / 393.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.321, allocations: 4 kB / 393.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001604/0.3226, allocations: 0.7424 MB / 394.3 MB, free: 2.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3226, allocations: 60.12 kB / 394.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3228, allocations: 211 kB / 394.5 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3228, allocations: 34.64 kB / 394.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.3229, allocations: 237.6 kB / 394.8 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/0.323, allocations: 170.8 kB / 395 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.3232, allocations: 94.19 kB / 395.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.3232, allocations: 337.6 kB / 395.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.3235, allocations: 158.3 kB / 395.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.3239, allocations: 290.5 kB / 395.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.3245, allocations: 475.3 kB / 396.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3246, allocations: 5.031 kB / 396.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001007/0.3256, allocations: 0.5917 MB / 396.9 MB, free: 464 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3256, allocations: 7.391 kB / 396.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3256, allocations: 3.844 kB / 396.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/0.3259, allocations: 80.27 kB / 397 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.3264, allocations: 113.1 kB / 397.1 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.3281, allocations: 1.776 MB / 398.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.3284, allocations: 51.22 kB / 398.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3284, allocations: 23.17 kB / 398.9 MB, free: 14.79 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.0002012/0.3287, allocations: 173 kB / 399.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.3287, allocations: 32.56 kB / 399.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3298, allocations: 0.5541 MB / 399.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3299, allocations: 6.797 kB / 399.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3299, allocations: 1.5 kB / 399.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3299, allocations: 2.719 kB / 399.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3316, allocations: 1.17 MB / 400.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3316, allocations: 1.656 kB / 400.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.332, allocations: 80.89 kB / 401 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.3323, allocations: 77.92 kB / 401 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.3323, allocations: 12.92 kB / 401 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.334, allocations: 1.777 MB / 402.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.334, allocations: 1.375 kB / 402.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.3353, allocations: 0.8175 MB / 403.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.3354, allocations: 112.5 kB / 403.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.3355, allocations: 11.95 kB / 403.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.3357, allocations: 19.7 kB / 403.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3358, allocations: 39.22 kB / 403.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.3359, allocations: 15.53 kB / 403.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.336, allocations: 150.3 kB / 404 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.336, allocations: 0 / 404 MB, free: 11.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006106/0.3366, allocations: 159.1 kB / 404.1 MB, free: 11.31 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.0002391/0.3369, allocations: 134.3 kB / 404.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.338, allocations: 0.5985 MB / 404.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.338, allocations: 1.344 kB / 404.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.3387, allocations: 384.8 kB / 405.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3391, allocations: 48.41 kB / 405.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3408, allocations: 0.8549 MB / 406.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3413, allocations: 0.8176 MB / 407 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.3415, allocations: 56.19 kB / 407 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.905e-05/0.3416, allocations: 31.91 kB / 407 MB, free: 9.449 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3417, allocations: 0 / 407 MB, free: 9.449 MB / 334.1 MB Notification: Performance of Templates: time 0.009809/0.3515, allocations: 4.474 MB / 411.5 MB, free: 7.688 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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