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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001098/0.001098, allocations: 191 kB / 18.66 MB, free: 4.445 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.285/1.285, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001439/0.001439, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09735/0.0988, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005375/0.1042, allocations: 3.742 MB / 378.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1932/0.2975, allocations: 1.451 MB / 379.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.298, allocations: 10.03 kB / 379.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.2997, allocations: 0.7592 MB / 380.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.301, allocations: 0.565 MB / 381.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.3018, allocations: 423.5 kB / 381.6 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.3023, allocations: 492.3 kB / 382.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.3031, allocations: 472 kB / 382.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.3035, allocations: 235.9 kB / 382.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.3039, allocations: 282.6 kB / 383 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.547e-05/0.304, allocations: 49.94 kB / 383.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.3045, allocations: 217.4 kB / 383.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.3046, allocations: 114.4 kB / 383.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.3048, allocations: 250.5 kB / 383.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008601/0.3056, allocations: 0.7153 MB / 384.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3056, allocations: 1.188 kB / 384.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3056, allocations: 4 kB / 384.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.3057, allocations: 0 / 384.4 MB, free: 8.605 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.001978/0.3076, allocations: 0.948 MB / 385.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3077, allocations: 9.094 kB / 385.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.3078, allocations: 101.6 kB / 385.4 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/0.312, allocations: 0.5868 MB / 386 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.3125, allocations: 317.5 kB / 386.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.3126, allocations: 44.72 kB / 386.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.3127, allocations: 63.42 kB / 386.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.3137, allocations: 0.5771 MB / 387 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3138, allocations: 0 / 387 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.3138, allocations: 26.47 kB / 387 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3138, allocations: 13.5 kB / 387 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3149, allocations: 0.6459 MB / 387.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.3179, allocations: 2.051 MB / 389.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.3196, allocations: 3.005 MB / 392.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.3201, allocations: 274.9 kB / 393 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.3201, allocations: 93.61 kB / 393.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3202, allocations: 44.56 kB / 393.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.445e-06/0.3202, allocations: 0 / 393.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001675/0.3219, allocations: 0.7529 MB / 393.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3219, allocations: 57.28 kB / 394 MB, free: 1.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3221, allocations: 197.8 kB / 394.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3221, allocations: 30.8 kB / 394.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.3222, allocations: 248 kB / 394.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.3223, allocations: 167.1 kB / 394.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3225, allocations: 94.62 kB / 394.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.155e-05/0.3225, allocations: 341.9 kB / 395 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.3228, allocations: 158.2 kB / 395.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.3232, allocations: 285.7 kB / 395.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3238, allocations: 475.7 kB / 395.9 MB, free: 484 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3238, allocations: 1.062 kB / 395.9 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001013/0.3248, allocations: 0.5872 MB / 396.5 MB, free: 216 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3249, allocations: 6.594 kB / 396.5 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3249, allocations: 5.094 kB / 396.5 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.3252, allocations: 92.91 kB / 396.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.3257, allocations: 108.3 kB / 396.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.3274, allocations: 1.777 MB / 398.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.3277, allocations: 50.86 kB / 398.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.3278, allocations: 21.62 kB / 398.6 MB, free: 14.54 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.0002209/0.328, allocations: 183.7 kB / 398.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.3281, allocations: 33.56 kB / 398.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.3292, allocations: 0.5433 MB / 399.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3292, allocations: 6.062 kB / 399.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3292, allocations: 1.938 kB / 399.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3292, allocations: 3.172 kB / 399.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.331, allocations: 1.172 MB / 400.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.331, allocations: 0 / 400.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.3313, allocations: 83.22 kB / 400.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.3316, allocations: 85.98 kB / 400.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3316, allocations: 13.5 kB / 400.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.3333, allocations: 1.769 MB / 402.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3333, allocations: 1.375 kB / 402.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.3346, allocations: 0.8171 MB / 403.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.3347, allocations: 113 kB / 403.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3347, allocations: 19.16 kB / 403.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.335, allocations: 20.94 kB / 403.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.3351, allocations: 35.2 kB / 403.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.3351, allocations: 15.81 kB / 403.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3352, allocations: 144.5 kB / 403.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3353, allocations: 0 / 403.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005984/0.3359, allocations: 156.4 kB / 403.8 MB, free: 11.06 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.001736/0.3376, allocations: 1.401 MB / 405.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.3388, allocations: 0.5927 MB / 405.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3388, allocations: 0.9375 kB / 405.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.3394, allocations: 388.1 kB / 406.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3399, allocations: 41.73 kB / 406.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.345, allocations: 3.674 MB / 409.8 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.3455, allocations: 0.8151 MB / 410.7 MB, free: 6.387 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.3457, allocations: 54.7 kB / 410.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.3459, allocations: 141.2 kB / 410.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3459, allocations: 0 / 410.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.3772, allocations: 8.039 MB / 418.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.926/10.3, allocations: 19.72 kB / 418.9 MB, free: 1.312 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > 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