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.001307/0.001307, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00148/0.00148, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 7.82 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.002059/0.002059, allocations: 59.91 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3028, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007758/0.3105, allocations: 4.544 MB / 436.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004457/0.315, allocations: 1.721 MB / 438.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007812/0.3158, allocations: 12 kB / 438.2 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.3191, allocations: 1.108 MB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.3214, allocations: 0.6018 MB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.323, allocations: 0.574 MB / 440.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.3245, allocations: 0.7621 MB / 441.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.3257, allocations: 0.5353 MB / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006836/0.3263, allocations: 342.7 kB / 442.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007299/0.3271, allocations: 430.2 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.3273, allocations: 64 kB / 442.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008271/0.3281, allocations: 247.9 kB / 442.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.3283, allocations: 163.4 kB / 443 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.3288, allocations: 310.5 kB / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.3304, allocations: 1.027 MB / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3304, allocations: 3.938 kB / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3304, allocations: 0 / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.076e-05/0.3305, allocations: 0 / 444.3 MB, free: 10.04 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.004327/0.3348, allocations: 1.324 MB / 445.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3348, allocations: 12.03 kB / 445.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.883e-05/0.3349, allocations: 26.19 kB / 445.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.3351, allocations: 127.1 kB / 445.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006013/0.3411, allocations: 0.7925 MB / 446.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009903/0.3421, allocations: 350 kB / 446.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.903e-05/0.3422, allocations: 62.12 kB / 447 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/0.3424, allocations: 84 kB / 447.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.3444, allocations: 0.8189 MB / 447.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3445, allocations: 3.953 kB / 447.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.3445, allocations: 32 kB / 447.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.3446, allocations: 20 kB / 448 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.3464, allocations: 0.9058 MB / 448.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.351, allocations: 2.315 MB / 451.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.3529, allocations: 0.7633 MB / 451.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.3535, allocations: 295.1 kB / 452.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.3536, allocations: 36.62 kB / 452.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3536, allocations: 39.22 kB / 452.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.156e-06/0.3536, allocations: 0 / 452.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003818/0.3575, allocations: 1.255 MB / 453.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.3575, allocations: 60.06 kB / 453.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.3579, allocations: 292.2 kB / 453.9 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.3579, allocations: 41.7 kB / 453.9 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.3582, allocations: 300.8 kB / 454.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.3584, allocations: 269.6 kB / 454.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.3587, allocations: 122.6 kB / 454.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3588, allocations: 362.5 kB / 455 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.3593, allocations: 229.9 kB / 455.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/0.3599, allocations: 358.5 kB / 455.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.3611, allocations: 0.6336 MB / 456.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3611, allocations: 4 kB / 456.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001874/0.3629, allocations: 0.8647 MB / 457.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.363, allocations: 6.5 kB / 457.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.363, allocations: 4 kB / 457.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008832/0.3639, allocations: 216.5 kB / 457.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.3644, allocations: 127.8 kB / 457.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.3683, allocations: 2.578 MB / 460 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.3689, allocations: 67.52 kB / 460 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.369, allocations: 31.98 kB / 460.1 MB, free: 9.816 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.0004796/0.3695, allocations: 201.6 kB / 460.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.3696, allocations: 47.67 kB / 460.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.3718, allocations: 0.8898 MB / 461.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.3718, allocations: 8 kB / 461.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3718, allocations: 8 kB / 461.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3718, allocations: 3.984 kB / 461.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.375, allocations: 1.566 MB / 462.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.375, allocations: 4 kB / 462.8 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.3755, allocations: 115.8 kB / 462.9 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007649/0.3763, allocations: 199.2 kB / 463.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/0.3763, allocations: 23.98 kB / 463.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00372/0.3801, allocations: 2.561 MB / 465.7 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3801, allocations: 3.938 kB / 465.7 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.3825, allocations: 1.253 MB / 466.9 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3827, allocations: 59.55 kB / 467 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.3827, allocations: 19.94 kB / 467 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.3833, allocations: 28.05 kB / 467.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.3834, allocations: 60.53 kB / 467.1 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.3835, allocations: 20 kB / 467.1 MB, free: 2.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.3837, allocations: 207.1 kB / 467.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3837, allocations: 0 / 467.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009246/0.3846, allocations: 243.5 kB / 467.6 MB, free: 2.117 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.003173/0.3878, allocations: 1.84 MB / 469.4 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.3898, allocations: 0.8085 MB / 470.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3898, allocations: 0 / 470.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3908, allocations: 0.5183 MB / 470.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.3914, allocations: 61.03 kB / 470.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/0.4003, allocations: 5.072 MB / 475.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4007, allocations: 290.9 kB / 476.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.401, allocations: 72.55 kB / 476.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.4013, allocations: 239.3 kB / 476.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4013, allocations: 0 / 476.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/0.4497, allocations: 13.35 MB / 489.8 MB, free: 11.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.07, allocations: 8.062 kB / 489.8 MB, free: 11.79 MB / 398.1 MB " [Timeout remaining time 647] (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: 16.268040746916085]