Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8477/0.8477, allocations: 173.4 MB / 200.5 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.748e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004397/0.004424, allocations: 3.375 MB / 321.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.006589, allocations: 1.331 MB / 323.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.006851, allocations: 8 kB / 323.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.008167, allocations: 0.7413 MB / 323.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007701/0.008937, allocations: 0.5272 MB / 324.4 MB, free: 360 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.009426, allocations: 402.1 kB / 324.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.009806, allocations: 481.7 kB / 325.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.01023, allocations: 350 kB / 325.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.01051, allocations: 299.1 kB / 325.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.0107, allocations: 203.4 kB / 326.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.01074, allocations: 44 kB / 326.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.01102, allocations: 199.6 kB / 326.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.01108, allocations: 107.6 kB / 326.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.654e-05/0.01117, allocations: 155.6 kB / 326.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.01173, allocations: 0.7009 MB / 327.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01174, allocations: 4 kB / 327.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01174, allocations: 0 / 327.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.01174, allocations: 0 / 327.3 MB, free: 13.45 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.001245/0.01299, allocations: 0.829 MB / 328.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.01303, allocations: 12.92 kB / 328.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.01314, allocations: 99.97 kB / 328.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.01478, allocations: 0.4884 MB / 328.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.01512, allocations: 253.1 kB / 329 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.01515, allocations: 37.69 kB / 329 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.01521, allocations: 56.33 kB / 329.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.01581, allocations: 0.5358 MB / 329.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.01583, allocations: 4.188 kB / 329.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.01586, allocations: 23.94 kB / 329.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.01587, allocations: 16 kB / 329.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006375/0.01651, allocations: 0.5634 MB / 330.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.01828, allocations: 1.578 MB / 331.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008856/0.01916, allocations: 0.5635 MB / 332.4 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.01937, allocations: 193.1 kB / 332.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.01942, allocations: 12.48 kB / 332.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.01944, allocations: 39.06 kB / 332.6 MB, free: 7.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.923e-06/0.01944, allocations: 0 / 332.6 MB, free: 7.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001132/0.02057, allocations: 0.7123 MB / 333.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.0206, allocations: 59.91 kB / 333.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.02073, allocations: 198.1 kB / 333.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.02076, allocations: 37.64 kB / 333.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.02085, allocations: 225 kB / 333.8 MB, free: 6.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.02094, allocations: 166.6 kB / 334 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.02103, allocations: 86.14 kB / 334.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.02112, allocations: 342.8 kB / 334.4 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.0213, allocations: 148.9 kB / 334.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.02152, allocations: 228.3 kB / 334.8 MB, free: 5.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.02193, allocations: 400.7 kB / 335.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02194, allocations: 0 / 335.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006167/0.02255, allocations: 0.5333 MB / 335.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.02257, allocations: 4 kB / 335.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.02258, allocations: 4 kB / 335.7 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/0.02281, allocations: 84.8 kB / 335.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.023, allocations: 99.83 kB / 335.9 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.02435, allocations: 1.918 MB / 337.8 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.02448, allocations: 51.72 kB / 337.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.02451, allocations: 20 kB / 337.9 MB, free: 2.48 MB / 298.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.0001372/0.02465, allocations: 161.7 kB / 338 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.02468, allocations: 31.98 kB / 338.1 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006367/0.02532, allocations: 0.5448 MB / 338.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.02532, allocations: 7.938 kB / 338.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.02533, allocations: 4 kB / 338.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.02533, allocations: 3.984 kB / 338.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.02635, allocations: 1.042 MB / 339.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02635, allocations: 0 / 339.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.02652, allocations: 71.91 kB / 339.7 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.02669, allocations: 92.73 kB / 339.8 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.02671, allocations: 8 kB / 339.8 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.02796, allocations: 1.922 MB / 341.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.02796, allocations: 4.062 kB / 341.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.02878, allocations: 0.7796 MB / 342.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.02881, allocations: 39.7 kB / 342.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.02883, allocations: 15.94 kB / 342.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.02894, allocations: 20.05 kB / 342.6 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.02901, allocations: 36.38 kB / 342.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.02903, allocations: 19.98 kB / 342.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.0291, allocations: 132.2 kB / 342.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0291, allocations: 0 / 342.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.02952, allocations: 151.6 kB / 342.9 MB, free: 13.2 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.001135/0.03065, allocations: 1.366 MB / 344.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000662/0.03131, allocations: 0.5359 MB / 344.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03132, allocations: 3.938 kB / 344.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.03164, allocations: 365.7 kB / 345.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.03189, allocations: 31.94 kB / 345.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.0349, allocations: 3.371 MB / 348.6 MB, free: 7.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.03504, allocations: 208.8 kB / 348.8 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.03516, allocations: 42.97 kB / 348.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.0353, allocations: 132.5 kB / 349 MB, free: 6.949 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0353, allocations: 0 / 349 MB, free: 6.949 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.06047, allocations: 8.438 MB / 357.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.401, allocations: 7.5 kB / 357.4 MB, free: 14.66 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.995046232827008]