Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8924/0.8924, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.126e-05, allocations: 5.234 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003284/0.003305, allocations: 3.407 MB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.005173, allocations: 1.398 MB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.005353, allocations: 8 kB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.006417, allocations: 0.7424 MB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007017/0.007119, allocations: 385.9 kB / 330.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.007763, allocations: 0.5321 MB / 331 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.008154, allocations: 469.7 kB / 331.5 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.008608, allocations: 354 kB / 331.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.008971, allocations: 303.2 kB / 332.1 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.009177, allocations: 203.4 kB / 332.3 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.009222, allocations: 44 kB / 332.4 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.009549, allocations: 195.7 kB / 332.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.009603, allocations: 111.6 kB / 332.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.009706, allocations: 155.6 kB / 332.8 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.01032, allocations: 0.7126 MB / 333.5 MB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01032, allocations: 0 / 333.5 MB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.01032, allocations: 0 / 333.5 MB, free: 6.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.01033, allocations: 0 / 333.5 MB, free: 6.941 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.001274/0.01161, allocations: 0.8368 MB / 334.4 MB, free: 6.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.01164, allocations: 12.03 kB / 334.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.01175, allocations: 104 kB / 334.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.01338, allocations: 468.2 kB / 334.9 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.01375, allocations: 253 kB / 335.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.01378, allocations: 41.69 kB / 335.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.01383, allocations: 56.38 kB / 335.3 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.01445, allocations: 0.5436 MB / 335.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.01446, allocations: 192 / 335.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.0145, allocations: 23.94 kB / 335.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.01451, allocations: 12 kB / 335.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006466/0.01516, allocations: 0.5673 MB / 336.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.01696, allocations: 1.606 MB / 338 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009077/0.01787, allocations: 0.5603 MB / 338.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.01808, allocations: 186.3 kB / 338.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.01815, allocations: 20.48 kB / 338.8 MB, free: 1.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.01818, allocations: 43 kB / 338.8 MB, free: 1.461 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.01818, allocations: 0 / 338.8 MB, free: 1.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001147/0.01933, allocations: 0.7084 MB / 339.5 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.01936, allocations: 59.89 kB / 339.6 MB, free: 0.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.01948, allocations: 190.2 kB / 339.8 MB, free: 484 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.01951, allocations: 33.7 kB / 339.8 MB, free: 444 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.0196, allocations: 225 kB / 340 MB, free: 216 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.01968, allocations: 166.5 kB / 340.2 MB, free: 48 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-05/0.01977, allocations: 86.19 kB / 340.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.01986, allocations: 342.8 kB / 340.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.02005, allocations: 152.9 kB / 340.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.02026, allocations: 224.3 kB / 341 MB, free: 15.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.02067, allocations: 408.7 kB / 341.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.02067, allocations: 0 / 341.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006116/0.02128, allocations: 0.5334 MB / 341.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.0213, allocations: 8 kB / 341.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.02131, allocations: 0 / 341.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.02154, allocations: 88.75 kB / 342 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.02173, allocations: 95.81 kB / 342.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.02306, allocations: 1.926 MB / 344 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.0232, allocations: 43.72 kB / 344.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.02322, allocations: 20 kB / 344.1 MB, free: 11.96 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.0001509/0.02337, allocations: 177.7 kB / 344.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.02341, allocations: 23.86 kB / 344.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.02408, allocations: 0.5448 MB / 344.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.02408, allocations: 4 kB / 344.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.02409, allocations: 0 / 344.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.02409, allocations: 7.984 kB / 344.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.02515, allocations: 1.046 MB / 345.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02515, allocations: 0 / 345.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.02531, allocations: 75.89 kB / 346 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.02549, allocations: 96.73 kB / 346.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.0255, allocations: 8 kB / 346.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.02673, allocations: 1.918 MB / 348 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02674, allocations: 288 / 348 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.02757, allocations: 0.7914 MB / 348.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.0276, allocations: 35.72 kB / 348.8 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.02763, allocations: 15.88 kB / 348.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.02774, allocations: 24.11 kB / 348.9 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.02781, allocations: 36.42 kB / 348.9 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.02782, allocations: 12 kB / 348.9 MB, free: 6.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.601e-05/0.0279, allocations: 135.2 kB / 349 MB, free: 6.812 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0279, allocations: 0 / 349 MB, free: 6.812 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.02832, allocations: 155.6 kB / 349.2 MB, free: 6.66 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.001123/0.02944, allocations: 1.382 MB / 350.6 MB, free: 5.246 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.03013, allocations: 0.5319 MB / 351.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03013, allocations: 4.438 kB / 351.1 MB, free: 4.695 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.03046, allocations: 365.3 kB / 351.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.03073, allocations: 31.19 kB / 351.5 MB, free: 4.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.03379, allocations: 3.367 MB / 354.9 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.03393, allocations: 208.8 kB / 355.1 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.03405, allocations: 42.95 kB / 355.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.03418, allocations: 148.4 kB / 355.3 MB, free: 396 kB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03418, allocations: 0 / 355.3 MB, free: 396 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.05977, allocations: 8.577 MB / 363.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.908, allocations: 4.062 kB / 363.8 MB, free: 7.965 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 8.583725760690868]