Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001509/0.001509, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 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.001697/0.001697, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 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 1.457/1.457, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 51.92 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1175, allocations: 53.33 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005406/0.1229, allocations: 3.734 MB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2078/0.3307, allocations: 1.493 MB / 432.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.331, allocations: 10.06 kB / 432.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.3328, allocations: 0.7566 MB / 433 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3339, allocations: 392.5 kB / 433.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3349, allocations: 0.5517 MB / 433.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005358/0.3354, allocations: 466.3 kB / 434.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.336, allocations: 367 kB / 434.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.3364, allocations: 228.4 kB / 435 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.3367, allocations: 275.2 kB / 435.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.3368, allocations: 43.75 kB / 435.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.3373, allocations: 217.6 kB / 435.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.3374, allocations: 110 kB / 435.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3376, allocations: 235.7 kB / 435.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009146/0.3385, allocations: 0.7054 MB / 436.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3385, allocations: 1.875 kB / 436.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3385, allocations: 1.062 kB / 436.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3386, allocations: 3.812 kB / 436.6 MB, free: 6.973 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.002248/0.3408, allocations: 0.9186 MB / 437.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.3409, allocations: 10 kB / 437.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.116e-05/0.3409, allocations: 15.27 kB / 437.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.3411, allocations: 105.9 kB / 437.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/0.3447, allocations: 476.8 kB / 438.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.3452, allocations: 311.3 kB / 438.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3452, allocations: 43.31 kB / 438.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.3453, allocations: 56.97 kB / 438.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000952/0.3463, allocations: 0.5422 MB / 439 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3463, allocations: 1.734 kB / 439 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.3463, allocations: 24.97 kB / 439 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3464, allocations: 14.3 kB / 439 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3475, allocations: 0.587 MB / 439.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.3506, allocations: 1.989 MB / 441.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.3523, allocations: 2.141 MB / 443.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.3529, allocations: 243.9 kB / 444 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.353, allocations: 178.4 kB / 444.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3531, allocations: 43.27 kB / 444.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.114e-06/0.3531, allocations: 4 kB / 444.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004341/0.3574, allocations: 1.865 MB / 446.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.3574, allocations: 67.66 kB / 446.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.3576, allocations: 191.4 kB / 446.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3576, allocations: 36.02 kB / 446.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.3577, allocations: 220.6 kB / 446.6 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.3579, allocations: 227 kB / 446.8 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.358, allocations: 104.3 kB / 446.9 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3582, allocations: 338.5 kB / 447.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.3587, allocations: 224.3 kB / 447.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.3592, allocations: 313.2 kB / 447.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3603, allocations: 0.5556 MB / 448.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3603, allocations: 1.156 kB / 448.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001677/0.3619, allocations: 0.7689 MB / 449.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.362, allocations: 7.312 kB / 449.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.362, allocations: 6.234 kB / 449.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.3626, allocations: 163.1 kB / 449.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.3631, allocations: 118.9 kB / 449.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.3672, allocations: 3.624 MB / 453 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.3676, allocations: 29.39 kB / 453 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.3677, allocations: 22.3 kB / 453.1 MB, free: 11.67 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.0002857/0.368, allocations: 181.4 kB / 453.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.368, allocations: 30.41 kB / 453.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.3698, allocations: 0.7817 MB / 454 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3698, allocations: 6.891 kB / 454.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3698, allocations: 2.625 kB / 454.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3699, allocations: 3.75 kB / 454.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.3725, allocations: 1.512 MB / 455.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3726, allocations: 5.938 kB / 455.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.373, allocations: 101.8 kB / 455.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005653/0.3735, allocations: 165.5 kB / 455.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.3736, allocations: 18.81 kB / 455.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.3776, allocations: 3.602 MB / 459.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3776, allocations: 2.75 kB / 459.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.3801, allocations: 1.147 MB / 460.6 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3802, allocations: 104.2 kB / 460.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.3803, allocations: 10.84 kB / 460.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.3806, allocations: 32.44 kB / 460.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.3808, allocations: 57.45 kB / 460.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.3809, allocations: 18.7 kB / 460.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.381, allocations: 135.3 kB / 461 MB, free: 6.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.381, allocations: 3.938 kB / 461 MB, free: 6.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008594/0.3819, allocations: 157.2 kB / 461.1 MB, free: 6.168 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.002866/0.3848, allocations: 1.728 MB / 462.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.3869, allocations: 0.8643 MB / 463.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3869, allocations: 1.344 kB / 463.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.388, allocations: 0.5956 MB / 464.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3884, allocations: 37.39 kB / 464.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/0.3955, allocations: 4.192 MB / 468.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.396, allocations: 0.8299 MB / 469.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.3962, allocations: 60 kB / 469.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.3965, allocations: 156.3 kB / 469.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of SimCode: time 1.051e-06/0.3965, allocations: 3.938 kB / 469.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.4339, allocations: 9.99 MB / 479.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.67, allocations: 12.88 kB / 479.6 MB, free: 10.22 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.124090939003509]