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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.88 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2984, allocations: 50.55 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00529/0.3038, allocations: 3.697 MB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.3065, allocations: 1.491 MB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.3067, allocations: 12 kB / 414 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.3086, allocations: 0.7579 MB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009556/0.3096, allocations: 390 kB / 415.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3107, allocations: 0.5493 MB / 415.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.3112, allocations: 458 kB / 416.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.3118, allocations: 392.8 kB / 416.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.3122, allocations: 203.3 kB / 416.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.3125, allocations: 270.9 kB / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.3126, allocations: 44 kB / 417.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.313, allocations: 219.8 kB / 417.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3131, allocations: 103.6 kB / 417.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.3134, allocations: 230.9 kB / 417.6 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000904/0.3143, allocations: 0.6888 MB / 418.3 MB, free: 7.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3143, allocations: 0 / 418.3 MB, free: 7.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3143, allocations: 4 kB / 418.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3143, allocations: 0 / 418.3 MB, free: 7.965 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.002096/0.3164, allocations: 0.9161 MB / 419.2 MB, free: 7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3165, allocations: 8.031 kB / 419.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.3166, allocations: 104 kB / 419.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.32, allocations: 464.2 kB / 419.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.3205, allocations: 311.7 kB / 420.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.3206, allocations: 45.69 kB / 420.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.3207, allocations: 56.33 kB / 420.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3217, allocations: 0.5179 MB / 420.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.3217, allocations: 4 kB / 420.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.3218, allocations: 20 kB / 420.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.3218, allocations: 16 kB / 420.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.3229, allocations: 0.579 MB / 421.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.326, allocations: 1.96 MB / 423.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.3285, allocations: 2.183 MB / 425.4 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.3289, allocations: 217.1 kB / 425.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.3291, allocations: 178.5 kB / 425.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3292, allocations: 42.98 kB / 425.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.3292, allocations: 0 / 425.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002122/0.3313, allocations: 0.7934 MB / 426.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.3314, allocations: 59.78 kB / 426.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3317, allocations: 190.2 kB / 426.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.3318, allocations: 37.69 kB / 427 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.332, allocations: 221 kB / 427.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.3322, allocations: 170.5 kB / 427.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.3324, allocations: 86.25 kB / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3326, allocations: 330.8 kB / 427.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.3331, allocations: 157 kB / 427.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.3337, allocations: 220.8 kB / 428.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.3349, allocations: 407.4 kB / 428.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3349, allocations: 0 / 428.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001686/0.3366, allocations: 0.5396 MB / 429 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.3366, allocations: 8 kB / 429.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3367, allocations: 0 / 429.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/0.3372, allocations: 88.8 kB / 429.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.3378, allocations: 87.89 kB / 429.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.3408, allocations: 2.045 MB / 431.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.3412, allocations: 43.72 kB / 431.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.3413, allocations: 20.12 kB / 431.3 MB, free: 9.965 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.00025/0.3415, allocations: 169.7 kB / 431.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.3416, allocations: 39.8 kB / 431.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.3428, allocations: 0.5396 MB / 432.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3428, allocations: 4 kB / 432.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3429, allocations: 0 / 432.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3429, allocations: 7.922 kB / 432.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.345, allocations: 1.139 MB / 433.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3451, allocations: 0 / 433.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.3456, allocations: 79.89 kB / 433.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/0.3461, allocations: 88.8 kB / 433.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.3461, allocations: 12 kB / 433.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.3491, allocations: 2.037 MB / 435.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3491, allocations: 0 / 435.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.3514, allocations: 0.8011 MB / 436.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.3515, allocations: 108.8 kB / 436.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.3515, allocations: 8 kB / 436.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.3519, allocations: 24.05 kB / 436.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.3521, allocations: 36.38 kB / 436.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.3521, allocations: 12 kB / 436.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.3524, allocations: 136.2 kB / 436.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3524, allocations: 192 / 436.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008611/0.3532, allocations: 151.7 kB / 436.7 MB, free: 4.332 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.002858/0.3561, allocations: 1.38 MB / 438.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.3579, allocations: 0.5697 MB / 438.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3579, allocations: 0 / 438.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3589, allocations: 381.4 kB / 439 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.3595, allocations: 47.34 kB / 439.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007667/0.3672, allocations: 3.404 MB / 442.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.3679, allocations: 0.8084 MB / 443.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002777/0.3682, allocations: 46.94 kB / 443.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.3685, allocations: 143.4 kB / 443.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3685, allocations: 0 / 443.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/0.4142, allocations: 7.573 MB / 451.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.8, allocations: 6.656 kB / 451.1 MB, free: 5.957 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/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