Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 220.9 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 59.91 kB / 378.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2983, allocations: 53.41 MB / 432 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00525/0.3035, allocations: 3.747 MB / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.3064, allocations: 1.522 MB / 437.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.3065, allocations: 8 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.3084, allocations: 0.7467 MB / 438 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009173/0.3093, allocations: 405.6 kB / 438.4 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3104, allocations: 0.5563 MB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.311, allocations: 466 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000753/0.3117, allocations: 433.4 kB / 439.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.3121, allocations: 223.2 kB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.3125, allocations: 271 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.3125, allocations: 44 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.313, allocations: 215.8 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3131, allocations: 111.6 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3133, allocations: 246.8 kB / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009051/0.3142, allocations: 0.6935 MB / 441.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3142, allocations: 0 / 441.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3142, allocations: 7.938 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3142, allocations: 0 / 441.6 MB, free: 13.05 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.002143/0.3164, allocations: 0.8552 MB / 442.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3164, allocations: 8.031 kB / 442.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.574e-05/0.3165, allocations: 17.5 kB / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.3166, allocations: 107.9 kB / 442.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.32, allocations: 476.1 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.3205, allocations: 249.5 kB / 443.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.3205, allocations: 45.69 kB / 443.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.3206, allocations: 60.08 kB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.3217, allocations: 0.5336 MB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3217, allocations: 0 / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.3217, allocations: 32 kB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3218, allocations: 12 kB / 444 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3228, allocations: 0.5868 MB / 444.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.3259, allocations: 1.751 MB / 446.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3275, allocations: 0.5829 MB / 446.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.328, allocations: 238.1 kB / 447.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.328, allocations: 24.39 kB / 447.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3281, allocations: 39 kB / 447.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.874e-06/0.3281, allocations: 4 kB / 447.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004476/0.3326, allocations: 1.723 MB / 448.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3326, allocations: 60.06 kB / 449 MB, free: 5.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3328, allocations: 191 kB / 449.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.3329, allocations: 33.7 kB / 449.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.333, allocations: 221 kB / 449.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.3332, allocations: 222 kB / 449.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3334, allocations: 106.3 kB / 449.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3336, allocations: 338.8 kB / 450.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.3341, allocations: 225.2 kB / 450.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.3346, allocations: 311.6 kB / 450.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3357, allocations: 0.5633 MB / 451.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3357, allocations: 4 kB / 451.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00166/0.3373, allocations: 0.764 MB / 451.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3374, allocations: 8 kB / 451.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3374, allocations: 4.125 kB / 451.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/0.338, allocations: 165.6 kB / 452.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.3385, allocations: 123.8 kB / 452.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/0.3424, allocations: 3.407 MB / 455.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.3427, allocations: 27.94 kB / 455.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.3428, allocations: 24 kB / 455.7 MB, free: 14.45 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.0002605/0.3431, allocations: 177.8 kB / 455.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.3431, allocations: 35.8 kB / 455.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.3449, allocations: 0.7836 MB / 456.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3449, allocations: 4 kB / 456.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3449, allocations: 4 kB / 456.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3449, allocations: 3.984 kB / 456.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.3476, allocations: 1.484 MB / 458.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3476, allocations: 4.062 kB / 458.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.3481, allocations: 99.88 kB / 458.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005575/0.3486, allocations: 162 kB / 458.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.3487, allocations: 19.98 kB / 458.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/0.3524, allocations: 3.402 MB / 461.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.3524, allocations: 3.938 kB / 461.9 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.3547, allocations: 1.151 MB / 463 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.3548, allocations: 31.73 kB / 463 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/0.3548, allocations: 12 kB / 463.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.3551, allocations: 27.92 kB / 463.1 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3553, allocations: 60.61 kB / 463.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.3553, allocations: 16 kB / 463.2 MB, free: 6.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.3555, allocations: 139.2 kB / 463.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3555, allocations: 0 / 463.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006161/0.3561, allocations: 152 kB / 463.4 MB, free: 6.348 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.002727/0.3588, allocations: 1.727 MB / 465.2 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.3606, allocations: 0.8657 MB / 466 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3606, allocations: 3.938 kB / 466 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3616, allocations: 0.5991 MB / 466.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.362, allocations: 43.91 kB / 466.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006774/0.3688, allocations: 4.19 MB / 470.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.3693, allocations: 0.8297 MB / 471.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.3695, allocations: 59.25 kB / 471.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.3698, allocations: 155.4 kB / 471.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3698, allocations: 0 / 471.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.4105, allocations: 10.44 MB / 482.3 MB, free: 3.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.41, allocations: 21.28 kB / 482.4 MB, free: 3.277 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.988133320002817]