Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001499/0.001499, allocations: 114 kB / 20.43 MB, free: 1.457 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.00168/0.00168, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.582/1.582, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 59.91 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2837, allocations: 53.41 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008924/0.2926, allocations: 6.572 MB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.2973, allocations: 2.663 MB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/0.2978, allocations: 20 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003114/0.301, allocations: 1.291 MB / 441.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.3027, allocations: 0.5318 MB / 442.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.3053, allocations: 1.265 MB / 443.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.3069, allocations: 1.075 MB / 444.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.3083, allocations: 0.7929 MB / 445.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.309, allocations: 458.3 kB / 445.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007929/0.3098, allocations: 0.5485 MB / 446.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.3099, allocations: 96 kB / 446.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.3109, allocations: 423.6 kB / 446.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.3112, allocations: 227.2 kB / 447.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005812/0.3118, allocations: 0.5208 MB / 447.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.314, allocations: 1.53 MB / 449.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.314, allocations: 4 kB / 449.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.314, allocations: 4 kB / 449.2 MB, free: 4.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.3141, allocations: 0 / 449.2 MB, free: 4.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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004863/0.3189, allocations: 1.696 MB / 450.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.319, allocations: 8.031 kB / 450.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002751/0.3192, allocations: 167.4 kB / 451 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/0.3226, allocations: 475.8 kB / 451.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008551/0.3235, allocations: 456.9 kB / 452 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/0.3235, allocations: 82.23 kB / 452 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.3237, allocations: 116 kB / 452.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.3258, allocations: 0.9785 MB / 453.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.3259, allocations: 0 / 453.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.326, allocations: 44 kB / 453.2 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.326, allocations: 35.92 kB / 453.2 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.3281, allocations: 0.9653 MB / 454.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007123/0.3352, allocations: 3.51 MB / 457.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.337, allocations: 0.8223 MB / 458.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008296/0.3378, allocations: 395 kB / 458.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.338, allocations: 33.03 kB / 458.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.339, allocations: 470.5 kB / 459.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.926e-06/0.339, allocations: 0 / 459.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009631/0.3486, allocations: 3.707 MB / 463.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.3487, allocations: 145.5 kB / 463.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.3493, allocations: 405.5 kB / 463.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.3494, allocations: 61.62 kB / 463.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.3497, allocations: 425 kB / 464.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005197/0.3503, allocations: 456.1 kB / 464.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000389/0.3506, allocations: 202.9 kB / 464.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.3509, allocations: 382.8 kB / 465.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.3516, allocations: 338.5 kB / 465.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/0.3525, allocations: 0.5351 MB / 466 MB, free: 3.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.3543, allocations: 0.9342 MB / 466.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3543, allocations: 4 kB / 466.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003019/0.3573, allocations: 1.363 MB / 468.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3574, allocations: 8 kB / 468.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3574, allocations: 4 kB / 468.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009394/0.3583, allocations: 351.2 kB / 468.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009156/0.3592, allocations: 199.7 kB / 468.8 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009432/0.3686, allocations: 8.075 MB / 476.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.3695, allocations: 47.98 kB / 477 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/0.3696, allocations: 47.98 kB / 477 MB, free: 7.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004874/0.37, allocations: 261.6 kB / 477.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.3702, allocations: 79.53 kB / 477.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.3731, allocations: 1.278 MB / 478.6 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.3731, allocations: 12 kB / 478.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.3731, allocations: 8 kB / 478.6 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.3731, allocations: 7.969 kB / 478.6 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/0.378, allocations: 2.489 MB / 481.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.378, allocations: 3.938 kB / 481.1 MB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/0.3787, allocations: 151.8 kB / 481.3 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/0.3796, allocations: 329.9 kB / 481.6 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.3796, allocations: 31.98 kB / 481.6 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008753/0.3884, allocations: 7.71 MB / 489.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3884, allocations: 4 kB / 489.4 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.392, allocations: 1.806 MB / 491.2 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.3923, allocations: 151.4 kB / 491.3 MB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.3924, allocations: 24 kB / 491.3 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.393, allocations: 35.98 kB / 491.4 MB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.3932, allocations: 112.7 kB / 491.5 MB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.3933, allocations: 39.98 kB / 491.5 MB, free: 8.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003565/0.3936, allocations: 275.2 kB / 491.8 MB, free: 8.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3936, allocations: 0 / 491.8 MB, free: 8.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001275/0.3949, allocations: 315.9 kB / 492.1 MB, free: 8.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004057/0.3989, allocations: 2.427 MB / 494.5 MB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00304/0.402, allocations: 1.553 MB / 496.1 MB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.402, allocations: 0 / 496.1 MB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.4038, allocations: 1.1 MB / 497.2 MB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.4045, allocations: 73.64 kB / 497.2 MB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.4175, allocations: 7.333 MB / 0.4927 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.4184, allocations: 1.021 MB / 0.4937 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004371/0.4188, allocations: 102.2 kB / 0.4938 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.4193, allocations: 355.3 kB / 0.4942 GB, free: 9.602 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4193, allocations: 4 kB / 0.4942 GB, free: 9.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07529/0.4946, allocations: 19.6 MB / 0.5133 GB, free: 6.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.52/20.01, allocations: 7.672 kB / 0.5133 GB, free: 6.121 MB / 430.1 MB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable coil.Phi in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! Error: Could not read variable coil.i in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable coil.i from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! Error: Could not read variable r_mLeak.port_p.Phi in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable r_mLeak.port_p.Phi from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! Error: Could not read variable rootMeanSquare.mean.x in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable rootMeanSquare.mean.x from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! Error: Could not read variable sourceQS.pin_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable sourceQS.pin_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.74591547899763]