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.001204/0.001204, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001258/0.001258, allocations: 190.7 kB / 24.49 MB, free: 3.941 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.341/1.341, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.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.001469/0.001469, allocations: 43.94 kB / 371.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2497, allocations: 52.19 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004854/0.2546, allocations: 3.387 MB / 426.7 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.2569, allocations: 1.316 MB / 428.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.2572, allocations: 12 kB / 428.1 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.2591, allocations: 0.7078 MB / 428.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.2604, allocations: 0.5238 MB / 429.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.2613, allocations: 399.2 kB / 429.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006642/0.2619, allocations: 477.9 kB / 430.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008039/0.2628, allocations: 422.2 kB / 430.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.2631, allocations: 219.2 kB / 430.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.2634, allocations: 270.9 kB / 431.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.2635, allocations: 44 kB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.2639, allocations: 215.8 kB / 431.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.264, allocations: 103.7 kB / 431.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.2642, allocations: 191.1 kB / 431.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.265, allocations: 0.6927 MB / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.265, allocations: 0 / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.265, allocations: 0 / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.265, allocations: 0 / 432.3 MB, free: 5.441 MB / 334.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.002067/0.2671, allocations: 0.8602 MB / 433.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2671, allocations: 12.03 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.075e-05/0.2672, allocations: 17.5 kB / 433.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.2673, allocations: 100 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.2707, allocations: 496.1 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.2712, allocations: 261.8 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.2712, allocations: 41.69 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/0.2713, allocations: 60.12 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/0.2723, allocations: 0.5548 MB / 434.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.2723, allocations: 3.953 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.2724, allocations: 23.98 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.2724, allocations: 12 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.2734, allocations: 0.5907 MB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.2762, allocations: 1.587 MB / 436.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.2776, allocations: 0.5613 MB / 437.4 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.2781, allocations: 242 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.2782, allocations: 16.44 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2782, allocations: 47 kB / 437.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.846e-06/0.2782, allocations: 0 / 437.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004279/0.2825, allocations: 1.719 MB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2825, allocations: 60.06 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.2827, allocations: 182.3 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.2828, allocations: 33.7 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2829, allocations: 228.9 kB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.2831, allocations: 222.1 kB / 440.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.2833, allocations: 106.3 kB / 440.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2834, allocations: 334.8 kB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.2839, allocations: 225.1 kB / 440.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.2844, allocations: 319.7 kB / 441.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2854, allocations: 0.5555 MB / 441.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2854, allocations: 0 / 441.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001601/0.287, allocations: 0.7642 MB / 442.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.287, allocations: 8 kB / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.287, allocations: 0 / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.2877, allocations: 169.6 kB / 442.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.2881, allocations: 115.8 kB / 442.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/0.2919, allocations: 3.377 MB / 446.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.2923, allocations: 27.98 kB / 446.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.2924, allocations: 20 kB / 446.2 MB, free: 7.012 MB / 350.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.0002824/0.2927, allocations: 181.6 kB / 446.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.2928, allocations: 35.81 kB / 446.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.2945, allocations: 0.7837 MB / 447.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2945, allocations: 8 kB / 447.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2945, allocations: 3.984 kB / 447.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.2945, allocations: 3.984 kB / 447.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.2972, allocations: 1.413 MB / 448.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2972, allocations: 0 / 448.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.2976, allocations: 95.88 kB / 448.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.2982, allocations: 173.6 kB / 448.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.2983, allocations: 12 kB / 448.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/0.3019, allocations: 3.365 MB / 452.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3019, allocations: 0 / 452.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.3041, allocations: 1.151 MB / 453.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.3042, allocations: 23.84 kB / 453.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.3042, allocations: 16 kB / 453.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.3046, allocations: 27.92 kB / 453.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3047, allocations: 52.55 kB / 453.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.3047, allocations: 20 kB / 453.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.3049, allocations: 140.2 kB / 453.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3049, allocations: 0 / 453.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005969/0.3055, allocations: 151.9 kB / 453.8 MB, free: 15.02 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.002649/0.3081, allocations: 1.731 MB / 455.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.31, allocations: 0.8657 MB / 456.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.31, allocations: 0 / 456.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.3111, allocations: 0.5952 MB / 457 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.3115, allocations: 35.94 kB / 457 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006836/0.3183, allocations: 4.197 MB / 461.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3186, allocations: 226.5 kB / 461.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.3188, allocations: 63.25 kB / 461.5 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.3191, allocations: 151.4 kB / 461.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3191, allocations: 0 / 461.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04087/0.3599, allocations: 10.49 MB / 472.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.81, allocations: 7.875 kB / 472.2 MB, free: 12.61 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.09812867292203]