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.0008169/0.000817, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009763/0.0009763, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000193/0.000193, allocations: 4 kB / 307.8 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07433/0.07453, allocations: 51.52 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003219/0.07779, allocations: 3.309 MB / 362.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.07987, allocations: 1.46 MB / 364.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.08009, allocations: 12 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.08052, allocations: 159.4 kB / 364.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008637/0.08139, allocations: 349.8 kB / 364.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.08232, allocations: 0.5246 MB / 365.2 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.08279, allocations: 442.1 kB / 365.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.08403, allocations: 0.7791 MB / 366.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.08432, allocations: 191.1 kB / 366.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.08459, allocations: 231 kB / 366.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.08464, allocations: 20 kB / 366.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.08498, allocations: 187.8 kB / 367 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.08505, allocations: 83.59 kB / 367.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.08523, allocations: 240.5 kB / 367.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.08588, allocations: 0.6501 MB / 368 MB, free: 4.316 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.08589, allocations: 4 kB / 368 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0859, allocations: 0 / 368 MB, free: 4.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.08591, allocations: 0 / 368 MB, free: 4.312 MB / 302.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.001736/0.08765, allocations: 0.8195 MB / 368.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.0877, allocations: 15.97 kB / 368.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.08784, allocations: 103.8 kB / 368.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.0911, allocations: 0.4921 MB / 369.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.09142, allocations: 307.7 kB / 369.7 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.09146, allocations: 41.69 kB / 369.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.09154, allocations: 52.38 kB / 369.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.0924, allocations: 0.5336 MB / 370.3 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.09243, allocations: 0 / 370.3 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.09249, allocations: 24 kB / 370.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.0925, allocations: 19.92 kB / 370.4 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009371/0.09344, allocations: 0.5946 MB / 371 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1225/0.216, allocations: 1.958 MB / 372.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.2175, allocations: 2.176 MB / 375.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.218, allocations: 265.3 kB / 375.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.612e-05/0.2181, allocations: 172.2 kB / 375.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.2181, allocations: 37.06 kB / 375.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.315e-06/0.2181, allocations: 4.844 kB / 375.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001571/0.2197, allocations: 0.7623 MB / 376.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.2197, allocations: 56.84 kB / 376.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2199, allocations: 186.3 kB / 376.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2199, allocations: 34.77 kB / 376.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.22, allocations: 221.3 kB / 376.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/0.2201, allocations: 161.5 kB / 377 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.2201, allocations: 43.09 kB / 377 MB, free: 14.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.2202, allocations: 339.5 kB / 377.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.2205, allocations: 155 kB / 377.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.2208, allocations: 246.3 kB / 377.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.2215, allocations: 431.8 kB / 378.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2215, allocations: 0.9375 kB / 378.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008602/0.2223, allocations: 0.5426 MB / 378.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2224, allocations: 6.109 kB / 378.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2224, allocations: 2.75 kB / 378.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.2227, allocations: 85.31 kB / 378.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.223, allocations: 99.92 kB / 378.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.2242, allocations: 1.659 MB / 380.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.2245, allocations: 45.58 kB / 380.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2245, allocations: 20.94 kB / 380.6 MB, free: 12.42 MB / 302.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.0001399/0.2247, allocations: 178.9 kB / 380.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.2247, allocations: 25.03 kB / 380.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009556/0.2257, allocations: 0.5414 MB / 381.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2257, allocations: 13.2 kB / 381.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2257, allocations: 1.188 kB / 381.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2257, allocations: 7.531 kB / 381.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2271, allocations: 1.158 MB / 382.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2271, allocations: 1.5 kB / 382.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.2274, allocations: 85.77 kB / 382.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.2277, allocations: 81.14 kB / 382.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.2277, allocations: 13.52 kB / 382.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.2288, allocations: 1.631 MB / 384.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2288, allocations: 8.562 kB / 384.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2299, allocations: 0.8205 MB / 385.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.23, allocations: 111.9 kB / 385.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.23, allocations: 8.266 kB / 385.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.2302, allocations: 23.53 kB / 385.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.2303, allocations: 38.58 kB / 385.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.2303, allocations: 15.06 kB / 385.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.2304, allocations: 132.6 kB / 385.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2304, allocations: 0 / 385.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.2308, allocations: 155 kB / 385.6 MB, free: 9.098 MB / 302.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.001325/0.2322, allocations: 1.4 MB / 387 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008655/0.2331, allocations: 0.5759 MB / 387.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2331, allocations: 0 / 387.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005035/0.2336, allocations: 389.1 kB / 388 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2339, allocations: 29.98 kB / 388 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.2377, allocations: 3.714 MB / 391.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.2379, allocations: 0.8059 MB / 392.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.2381, allocations: 53.41 kB / 392.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.2382, allocations: 133.9 kB / 392.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2383, allocations: 0 / 392.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.901/2.14, allocations: 7.029 MB / 399.8 MB, free: 2.25 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/2.14, allocations: 253 kB / 400 MB, free: 1.996 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/5.006, allocations: 1.625 kB / 400 MB, free: 1.996 MB / 302.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