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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.0008831/0.0008831, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.8987/0.8987, allocations: 177 MB / 204.1 MB, free: 5.73 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.876e-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.SeriesResonance): time 0.003643/0.003662, allocations: 3.404 MB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.005372, allocations: 1.39 MB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.00552, allocations: 8 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000941/0.006461, allocations: 0.7386 MB / 330.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.007008, allocations: 389.2 kB / 330.4 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.007575, allocations: 0.5237 MB / 331 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.007903, allocations: 481.7 kB / 331.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.008337, allocations: 350 kB / 331.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.008659, allocations: 303.2 kB / 332.1 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.00885, allocations: 199.5 kB / 332.3 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.008901, allocations: 44 kB / 332.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.009185, allocations: 199.7 kB / 332.5 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.009253, allocations: 111.6 kB / 332.6 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.009363, allocations: 159.6 kB / 332.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006189/0.009982, allocations: 0.7047 MB / 333.5 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.009987, allocations: 0 / 333.5 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009988, allocations: 4 kB / 333.5 MB, free: 6.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.009996, allocations: 0 / 333.5 MB, free: 6.883 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.001308/0.0113, allocations: 0.8368 MB / 334.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.01134, allocations: 11.98 kB / 334.3 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003725/0.01172, allocations: 108 kB / 334.4 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.01337, allocations: 472.2 kB / 334.9 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.01372, allocations: 249 kB / 335.1 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.01375, allocations: 41.62 kB / 335.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.0138, allocations: 52.38 kB / 335.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.01443, allocations: 0.5514 MB / 335.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.01445, allocations: 192 / 335.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.01449, allocations: 27.94 kB / 335.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.0145, allocations: 12 kB / 335.8 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.01515, allocations: 0.5673 MB / 336.4 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.01693, allocations: 1.598 MB / 338 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000902/0.01783, allocations: 0.5579 MB / 338.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.01804, allocations: 186.3 kB / 338.7 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.573e-05/0.0181, allocations: 20.48 kB / 338.7 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.01812, allocations: 39 kB / 338.8 MB, free: 1.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.413e-06/0.01812, allocations: 0 / 338.8 MB, free: 1.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001152/0.01928, allocations: 0.7201 MB / 339.5 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.01931, allocations: 55.91 kB / 339.6 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.01945, allocations: 194.2 kB / 339.7 MB, free: 416 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.01947, allocations: 29.7 kB / 339.8 MB, free: 380 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.01956, allocations: 221 kB / 340 MB, free: 156 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-05/0.01965, allocations: 170.7 kB / 340.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.01974, allocations: 82.17 kB / 340.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.01983, allocations: 342.6 kB / 340.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.02001, allocations: 148.9 kB / 340.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.02022, allocations: 236.2 kB / 340.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.02065, allocations: 400.8 kB / 341.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.02066, allocations: 3.938 kB / 341.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008785/0.02153, allocations: 0.5294 MB / 341.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.02155, allocations: 12 kB / 341.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.02156, allocations: 0 / 341.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/0.02179, allocations: 92.73 kB / 342 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.02197, allocations: 91.83 kB / 342.1 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.02335, allocations: 1.926 MB / 344 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.02349, allocations: 39.73 kB / 344 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.02351, allocations: 23.98 kB / 344.1 MB, free: 11.9 MB / 314.7 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.0001805/0.02369, allocations: 169.7 kB / 344.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.02373, allocations: 27.86 kB / 344.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.02445, allocations: 0.5448 MB / 344.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.02445, allocations: 4 kB / 344.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.02446, allocations: 4 kB / 344.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.02446, allocations: 3.984 kB / 344.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.02551, allocations: 1.046 MB / 345.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.02552, allocations: 0 / 345.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.02568, allocations: 75.84 kB / 345.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.02585, allocations: 88.8 kB / 346 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.02587, allocations: 8 kB / 346 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.02718, allocations: 1.918 MB / 347.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02718, allocations: 3.938 kB / 347.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.0283, allocations: 0.7954 MB / 348.7 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.02833, allocations: 31.72 kB / 348.8 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.02836, allocations: 19.92 kB / 348.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.02847, allocations: 12 kB / 348.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.02853, allocations: 44.42 kB / 348.8 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.02855, allocations: 16 kB / 348.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.75e-05/0.02862, allocations: 139.2 kB / 349 MB, free: 6.754 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02862, allocations: 0 / 349 MB, free: 6.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.02905, allocations: 147.7 kB / 349.1 MB, free: 6.609 MB / 314.7 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.001113/0.03016, allocations: 1.374 MB / 350.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006706/0.03083, allocations: 0.5476 MB / 351.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.03083, allocations: 0 / 351.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.0312, allocations: 361.8 kB / 351.4 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.03152, allocations: 31.98 kB / 351.4 MB, free: 4.246 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.0347, allocations: 3.375 MB / 354.8 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.03484, allocations: 204.8 kB / 355 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.03495, allocations: 46.95 kB / 355.1 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.03508, allocations: 136.5 kB / 355.2 MB, free: 344 kB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03508, allocations: 0 / 355.2 MB, free: 344 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.05877, allocations: 8.57 MB / 363.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.456, allocations: 16.05 kB / 363.8 MB, free: 7.883 MB / 330.7 MB " [Timeout remaining time 652] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.125152226537466]