Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001341/0.001341, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001457/0.001457, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.495/1.495, allocations: 230.4 MB / 254.7 MB, free: 14.84 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.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 55.91 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1147, allocations: 53.38 MB / 427.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.224/0.3387, allocations: 5.102 MB / 432.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.3421, allocations: 1.855 MB / 434 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.3425, allocations: 15.66 kB / 434 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.3449, allocations: 1.189 MB / 435.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.3465, allocations: 0.6233 MB / 435.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3478, allocations: 0.6073 MB / 436.5 MB, free: 7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000937/0.3487, allocations: 0.7559 MB / 437.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007124/0.3494, allocations: 438 kB / 437.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.3499, allocations: 349.8 kB / 438 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004379/0.3504, allocations: 432.1 kB / 438.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3505, allocations: 62.81 kB / 438.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.3512, allocations: 256.3 kB / 438.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3513, allocations: 166.3 kB / 438.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.3517, allocations: 382.1 kB / 439.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.3533, allocations: 1.019 MB / 440.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.3534, allocations: 6.344 kB / 440.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3534, allocations: 0 / 440.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.3534, allocations: 0 / 440.3 MB, free: 5.578 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004398/0.3578, allocations: 1.402 MB / 441.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3578, allocations: 9.312 kB / 441.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.292e-05/0.3579, allocations: 21.59 kB / 441.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.358, allocations: 126.8 kB / 441.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006034/0.364, allocations: 0.783 MB / 442.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.365, allocations: 424.4 kB / 443 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.778e-05/0.365, allocations: 61.44 kB / 443.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.3652, allocations: 79.25 kB / 443.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.3668, allocations: 0.7703 MB / 443.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.3668, allocations: 9.016 kB / 443.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.3669, allocations: 32.31 kB / 444 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.3669, allocations: 19.38 kB / 444 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.3685, allocations: 0.9053 MB / 444.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.3726, allocations: 2.763 MB / 447.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.3747, allocations: 2.116 MB / 449.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.3753, allocations: 290.8 kB / 450.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.3756, allocations: 190.3 kB / 450.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.3756, allocations: 42.53 kB / 450.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.584e-06/0.3756, allocations: 4 kB / 450.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003936/0.3795, allocations: 1.338 MB / 451.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3796, allocations: 60.08 kB / 451.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.38, allocations: 294.4 kB / 452 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.3801, allocations: 44.83 kB / 452 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.3803, allocations: 289.9 kB / 452.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3805, allocations: 264.2 kB / 452.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.3807, allocations: 130.8 kB / 452.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3809, allocations: 354.1 kB / 453 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.3814, allocations: 236.8 kB / 453.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.382, allocations: 360.2 kB / 453.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.3831, allocations: 0.6315 MB / 454.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3831, allocations: 1.375 kB / 454.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001902/0.385, allocations: 0.8621 MB / 455.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.385, allocations: 11.69 kB / 455.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.385, allocations: 4.031 kB / 455.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008364/0.3859, allocations: 210.9 kB / 455.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.3864, allocations: 138.6 kB / 455.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.3901, allocations: 2.713 MB / 458.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.3907, allocations: 68.56 kB / 458.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.3907, allocations: 27.64 kB / 458.3 MB, free: 10.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003594/0.3911, allocations: 199.9 kB / 458.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3912, allocations: 49.3 kB / 458.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.3932, allocations: 0.8931 MB / 459.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3932, allocations: 7.906 kB / 459.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3932, allocations: 2.969 kB / 459.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3932, allocations: 4.875 kB / 459.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.3962, allocations: 1.699 MB / 461.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3962, allocations: 0 / 461.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.3967, allocations: 109.2 kB / 461.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007907/0.3975, allocations: 200.6 kB / 461.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.3976, allocations: 12.78 kB / 461.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.4013, allocations: 2.722 MB / 464.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4013, allocations: 5.438 kB / 464.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.4039, allocations: 1.249 MB / 465.4 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.4041, allocations: 134.9 kB / 465.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.4042, allocations: 19.44 kB / 465.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.4046, allocations: 23.86 kB / 465.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.4047, allocations: 54.86 kB / 465.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.4048, allocations: 23.64 kB / 465.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.405, allocations: 210.7 kB / 465.9 MB, free: 5.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.405, allocations: 0 / 465.9 MB, free: 5.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009447/0.406, allocations: 239.1 kB / 466.1 MB, free: 5.359 MB / 366.1 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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003023/0.409, allocations: 1.839 MB / 468 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.4108, allocations: 0.8187 MB / 468.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4108, allocations: 0 / 468.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009625/0.4118, allocations: 0.5187 MB / 469.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.4124, allocations: 63.77 kB / 469.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/0.4209, allocations: 5.085 MB / 474.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.4215, allocations: 0.8864 MB / 475.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003504/0.4218, allocations: 76.67 kB / 475.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.4222, allocations: 224.5 kB / 475.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4222, allocations: 0 / 475.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04271/0.4649, allocations: 12.59 MB / 488.2 MB, free: 2.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.4, allocations: 7.156 kB / 488.2 MB, free: 2.48 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.766202061029617]