Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001622/0.001622, allocations: 115.7 kB / 18.49 MB, free: 4.566 MB / 14.72 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.001843/0.001843, allocations: 190.6 kB / 21.43 MB, free: 1.641 MB / 14.72 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 1.402/1.402, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.94 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1115, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.006095/0.1176, allocations: 3.718 MB / 422.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.1205, allocations: 1.437 MB / 423.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.1209, allocations: 8 kB / 423.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.123, allocations: 0.7622 MB / 424.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.1245, allocations: 0.5326 MB / 424.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009963/0.1255, allocations: 429.5 kB / 425.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007638/0.1262, allocations: 466 kB / 425.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007996/0.127, allocations: 370 kB / 426.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.1275, allocations: 227.1 kB / 426.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.128, allocations: 271 kB / 426.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.1281, allocations: 44 kB / 426.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.1286, allocations: 203.8 kB / 426.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1287, allocations: 119.5 kB / 427 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.129, allocations: 238.8 kB / 427.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1301, allocations: 0.6927 MB / 427.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1301, allocations: 0 / 427.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1301, allocations: 0 / 427.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.1301, allocations: 0 / 427.9 MB, free: 3.098 MB / 350.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.002439/0.1326, allocations: 0.9316 MB / 428.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1326, allocations: 8.031 kB / 428.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.101e-05/0.1327, allocations: 25.44 kB / 428.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.1328, allocations: 92.02 kB / 429 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.1364, allocations: 0.4923 MB / 429.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.1369, allocations: 307.7 kB / 429.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.1369, allocations: 37.69 kB / 429.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.1371, allocations: 64.11 kB / 429.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.1382, allocations: 0.5297 MB / 430.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.1382, allocations: 7.953 kB / 430.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.1382, allocations: 20 kB / 430.5 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1383, allocations: 16 kB / 430.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.1394, allocations: 0.583 MB / 431.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.1428, allocations: 1.895 MB / 432.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.1453, allocations: 2.139 MB / 435.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.1458, allocations: 242 kB / 435.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.1459, allocations: 93.52 kB / 435.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.1459, allocations: 42.94 kB / 435.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.425e-06/0.146, allocations: 0 / 435.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.004788/0.1507, allocations: 1.872 MB / 437.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1508, allocations: 59.97 kB / 437.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.151, allocations: 190.3 kB / 437.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1511, allocations: 33.7 kB / 437.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1512, allocations: 236.9 kB / 437.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.1514, allocations: 218.1 kB / 438 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.1516, allocations: 102.3 kB / 438.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1518, allocations: 338.8 kB / 438.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.1523, allocations: 221.2 kB / 438.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.1529, allocations: 319.5 kB / 439 MB, free: 7.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.1539, allocations: 0.5543 MB / 439.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1539, allocations: 0 / 439.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00171/0.1557, allocations: 0.7619 MB / 440.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1557, allocations: 4 kB / 440.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1557, allocations: 4 kB / 440.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006729/0.1564, allocations: 173.5 kB / 440.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.1569, allocations: 119.8 kB / 440.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.161, allocations: 3.61 MB / 444.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.1614, allocations: 31.97 kB / 444.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.1615, allocations: 20 kB / 444.3 MB, free: 1.672 MB / 366.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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.1617, allocations: 185.7 kB / 444.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.361e-05/0.1618, allocations: 27.81 kB / 444.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.1637, allocations: 0.7814 MB / 445.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1637, allocations: 4 kB / 445.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1637, allocations: 8 kB / 445.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1637, allocations: 3.984 kB / 445.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2121/0.3759, allocations: 1.514 MB / 446.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3759, allocations: 0.6562 kB / 446.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.3763, allocations: 95.64 kB / 446.9 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005718/0.3769, allocations: 165 kB / 447.1 MB, free: 29.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.3769, allocations: 16.75 kB / 447.1 MB, free: 29.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.3798, allocations: 3.605 MB / 450.7 MB, free: 27.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3798, allocations: 5.438 kB / 450.7 MB, free: 27.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.3818, allocations: 1.141 MB / 451.8 MB, free: 26.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.3818, allocations: 103.9 kB / 451.9 MB, free: 26.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.3819, allocations: 13.31 kB / 451.9 MB, free: 26.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.3822, allocations: 30.03 kB / 452 MB, free: 26.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3823, allocations: 46.86 kB / 452 MB, free: 26.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.3824, allocations: 27.05 kB / 452 MB, free: 26.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.3825, allocations: 134.4 kB / 452.2 MB, free: 26.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3825, allocations: 0.6562 kB / 452.2 MB, free: 26.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006198/0.3831, allocations: 155.6 kB / 452.3 MB, free: 26.82 MB / 366.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 (53): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (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.002282/0.3854, allocations: 1.718 MB / 454 MB, free: 26.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.3871, allocations: 0.863 MB / 454.9 MB, free: 25.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3871, allocations: 1.344 kB / 454.9 MB, free: 25.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3881, allocations: 0.5928 MB / 455.5 MB, free: 25.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.3885, allocations: 41.61 kB / 455.5 MB, free: 25.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.3951, allocations: 4.186 MB / 459.7 MB, free: 22.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3954, allocations: 0.8264 MB / 460.5 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.3957, allocations: 59.52 kB / 460.6 MB, free: 22.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.3959, allocations: 152.1 kB / 460.8 MB, free: 22.09 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3959, allocations: 0 / 460.8 MB, free: 22.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04811/0.444, allocations: 9.927 MB / 470.7 MB, free: 20.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.76, allocations: 7.75 kB / 470.7 MB, free: 20.03 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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: 13.185942758980673]