Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 117.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 207.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2917, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005474/0.2972, allocations: 3.697 MB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.3002, allocations: 1.491 MB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.3007, allocations: 8 kB / 414 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.3029, allocations: 0.7429 MB / 414.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.3042, allocations: 393.6 kB / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.3054, allocations: 0.5477 MB / 415.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007549/0.3062, allocations: 470 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008848/0.3071, allocations: 463.4 kB / 416.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.3077, allocations: 223.2 kB / 416.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.3082, allocations: 278.9 kB / 417 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3083, allocations: 44 kB / 417.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006495/0.309, allocations: 215.8 kB / 417.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.3091, allocations: 107.6 kB / 417.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.3094, allocations: 234.8 kB / 417.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.3107, allocations: 0.7048 MB / 418.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3107, allocations: 4 kB / 418.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3107, allocations: 0 / 418.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.029e-05/0.3108, allocations: 0 / 418.3 MB, free: 7.926 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.002598/0.3134, allocations: 0.917 MB / 419.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3134, allocations: 8.031 kB / 419.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.3136, allocations: 100 kB / 419.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.3171, allocations: 499.9 kB / 419.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.3177, allocations: 299.7 kB / 420.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.3178, allocations: 45.69 kB / 420.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.3178, allocations: 52.38 kB / 420.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.3188, allocations: 0.5374 MB / 420.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3188, allocations: 3.906 kB / 420.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.3189, allocations: 20 kB / 420.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.3189, allocations: 19.94 kB / 420.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009611/0.3199, allocations: 0.5751 MB / 421.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.3227, allocations: 1.954 MB / 423.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.3247, allocations: 2.17 MB / 425.5 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.3252, allocations: 270.1 kB / 425.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.3253, allocations: 178.5 kB / 425.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3254, allocations: 39 kB / 426 MB, free: 15.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.834e-06/0.3254, allocations: 0 / 426 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001724/0.3271, allocations: 0.7426 MB / 426.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3272, allocations: 59.84 kB / 426.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.3274, allocations: 182.3 kB / 427 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.3274, allocations: 37.64 kB / 427 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3275, allocations: 224.4 kB / 427.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3276, allocations: 157.6 kB / 427.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3278, allocations: 86.25 kB / 427.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3279, allocations: 338.8 kB / 427.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.3282, allocations: 149.1 kB / 427.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.3285, allocations: 238.5 kB / 428.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/0.3291, allocations: 420.8 kB / 428.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3292, allocations: 0 / 428.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009459/0.3301, allocations: 0.5357 MB / 429.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3301, allocations: 6.188 kB / 429.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3302, allocations: 7.984 kB / 429.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.3305, allocations: 72.81 kB / 429.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.3309, allocations: 103.8 kB / 429.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.3328, allocations: 1.775 MB / 431.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.333, allocations: 47.47 kB / 431.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.3331, allocations: 23.98 kB / 431.1 MB, free: 10.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0001916/0.3333, allocations: 169.8 kB / 431.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.3333, allocations: 27.62 kB / 431.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3344, allocations: 0.5434 MB / 431.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3344, allocations: 4 kB / 431.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3344, allocations: 7.938 kB / 431.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3344, allocations: 3.984 kB / 431.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3361, allocations: 1.144 MB / 433 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3362, allocations: 0 / 433 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.3365, allocations: 75.91 kB / 433.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/0.3368, allocations: 80.86 kB / 433.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.3368, allocations: 12 kB / 433.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.3384, allocations: 1.77 MB / 435 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3384, allocations: 0 / 435 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3397, allocations: 0.7951 MB / 435.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.3397, allocations: 112.7 kB / 435.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.3398, allocations: 8 kB / 435.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.34, allocations: 23.98 kB / 435.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.3401, allocations: 40.33 kB / 435.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.3401, allocations: 16 kB / 436 MB, free: 5.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3402, allocations: 132.2 kB / 436.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3402, allocations: 0 / 436.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.3407, allocations: 147.6 kB / 436.2 MB, free: 4.789 MB / 350.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 (44): * Single equations (assignments): 43 * 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.001631/0.3424, allocations: 1.386 MB / 437.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3434, allocations: 0.5737 MB / 438.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3434, allocations: 3.938 kB / 438.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.344, allocations: 377.7 kB / 438.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3443, allocations: 40.33 kB / 438.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.3487, allocations: 3.428 MB / 442 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.3491, allocations: 0.8044 MB / 442.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.3493, allocations: 54.94 kB / 442.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.3495, allocations: 131.4 kB / 443 MB, free: 13.75 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3495, allocations: 4 kB / 443 MB, free: 13.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.3787, allocations: 7.757 MB / 450.8 MB, free: 6.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.653/10.03, allocations: 11.92 kB / 450.8 MB, free: 6.156 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches