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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008853/0.0008853, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9055/0.9055, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.871e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003371/0.00339, allocations: 3.411 MB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.004986, allocations: 1.394 MB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.005147, allocations: 8 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.006152, allocations: 0.7381 MB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005859/0.006738, allocations: 393.8 kB / 330.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.007328, allocations: 0.5164 MB / 331 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.007666, allocations: 485.5 kB / 331.4 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.008165, allocations: 426.2 kB / 331.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.008496, allocations: 315.3 kB / 332.2 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.008693, allocations: 203.4 kB / 332.4 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.008738, allocations: 44 kB / 332.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.009038, allocations: 215.6 kB / 332.6 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.009099, allocations: 107.6 kB / 332.7 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.009211, allocations: 163.6 kB / 332.9 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.01005, allocations: 0.7165 MB / 333.6 MB, free: 6.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01006, allocations: 0 / 333.6 MB, free: 6.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01006, allocations: 3.938 kB / 333.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.01006, allocations: 8 kB / 333.6 MB, free: 6.742 MB / 298.7 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.001286/0.01135, allocations: 0.8447 MB / 334.5 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.01139, allocations: 15.98 kB / 334.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.01151, allocations: 99.91 kB / 334.6 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.01318, allocations: 468.2 kB / 335 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.01356, allocations: 261.1 kB / 335.3 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.01359, allocations: 41.69 kB / 335.3 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.01365, allocations: 52.38 kB / 335.4 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.0143, allocations: 0.5553 MB / 335.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.01432, allocations: 4.172 kB / 335.9 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.01436, allocations: 31.94 kB / 336 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.01437, allocations: 12 kB / 336 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/0.01503, allocations: 0.5712 MB / 336.5 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.0169, allocations: 1.599 MB / 338.1 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.01782, allocations: 0.553 MB / 338.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.01812, allocations: 230.2 kB / 338.9 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.01818, allocations: 20.48 kB / 338.9 MB, free: 1.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.0182, allocations: 39.06 kB / 339 MB, free: 1.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.294e-06/0.0182, allocations: 0 / 339 MB, free: 1.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001046/0.01925, allocations: 0.6616 MB / 339.6 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.01928, allocations: 63.84 kB / 339.7 MB, free: 472 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.01941, allocations: 194 kB / 339.9 MB, free: 268 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.01943, allocations: 37.7 kB / 339.9 MB, free: 224 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.01972, allocations: 225.2 kB / 340.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.01979, allocations: 166.5 kB / 340.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/0.01989, allocations: 90.12 kB / 340.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.01997, allocations: 338.8 kB / 340.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.02015, allocations: 144.9 kB / 340.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.02038, allocations: 238 kB / 341.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.02081, allocations: 421.9 kB / 341.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.02081, allocations: 3.75 kB / 341.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006268/0.02144, allocations: 0.5409 MB / 342.1 MB, free: 14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.02145, allocations: 4 kB / 342.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.02146, allocations: 4 kB / 342.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002238/0.02169, allocations: 81.08 kB / 342.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.02189, allocations: 95.89 kB / 342.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.02305, allocations: 1.662 MB / 343.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.02319, allocations: 47.72 kB / 344 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.02321, allocations: 20 kB / 344 MB, free: 11.97 MB / 314.7 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.0001661/0.02338, allocations: 165.7 kB / 344.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.02341, allocations: 27.84 kB / 344.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/0.02409, allocations: 0.5371 MB / 344.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.0241, allocations: 7.938 kB / 344.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.0241, allocations: 4 kB / 344.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.0241, allocations: 7.922 kB / 344.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.02518, allocations: 1.051 MB / 345.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02518, allocations: 0 / 345.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.02535, allocations: 87.83 kB / 345.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.02551, allocations: 80.86 kB / 345.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.02553, allocations: 12 kB / 345.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.02698, allocations: 1.659 MB / 347.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02698, allocations: 0 / 347.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.02784, allocations: 0.7972 MB / 348.4 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.02787, allocations: 39.69 kB / 348.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.02789, allocations: 16.11 kB / 348.5 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.02801, allocations: 16 kB / 348.5 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.02807, allocations: 36.42 kB / 348.5 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.02809, allocations: 19.94 kB / 348.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.02817, allocations: 139.2 kB / 348.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02817, allocations: 0 / 348.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.02852, allocations: 147.7 kB / 348.8 MB, free: 6.914 MB / 314.7 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.001133/0.02966, allocations: 1.389 MB / 350.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.03034, allocations: 0.5402 MB / 350.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.03035, allocations: 128 / 350.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.03067, allocations: 361.3 kB / 351.1 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.03094, allocations: 28 kB / 351.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.03424, allocations: 3.43 MB / 354.5 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.03438, allocations: 212.6 kB / 354.8 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.0345, allocations: 46.95 kB / 354.8 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.03464, allocations: 144.4 kB / 354.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03464, allocations: 0 / 354.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.06031, allocations: 8.54 MB / 363.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.472, allocations: 7.938 kB / 363.5 MB, free: 8.125 MB / 330.7 MB " [Timeout remaining time 652] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.161154521629214]