Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.0009867/0.0009867, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009201/0.0009201, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9122/0.9122, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.693e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005424/0.005451, allocations: 5.854 MB / 330.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.008479, allocations: 2.476 MB / 332.9 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/0.008842, allocations: 23.94 kB / 332.9 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.01085, allocations: 1.239 MB / 334.2 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009691/0.01182, allocations: 0.5471 MB / 334.7 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.01317, allocations: 1.186 MB / 335.9 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.01404, allocations: 1.117 MB / 337 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008817/0.01492, allocations: 0.7778 MB / 337.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006021/0.01552, allocations: 0.6586 MB / 338.4 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.016, allocations: 414.8 kB / 338.8 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.01611, allocations: 96 kB / 338.9 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006336/0.01675, allocations: 407.3 kB / 339.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.0169, allocations: 231.1 kB / 339.6 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.01718, allocations: 363.1 kB / 339.9 MB, free: 0.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.01845, allocations: 1.569 MB / 341.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.01846, allocations: 4 kB / 341.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01846, allocations: 8 kB / 341.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.01847, allocations: 0 / 341.5 MB, free: 14.91 MB / 314.7 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.00275/0.02122, allocations: 1.677 MB / 343.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.02126, allocations: 12.03 kB / 343.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.02144, allocations: 179.4 kB / 343.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.02308, allocations: 471.8 kB / 343.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.02358, allocations: 448.7 kB / 344.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.02363, allocations: 86.61 kB / 344.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.02374, allocations: 115.9 kB / 344.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.02492, allocations: 1.025 MB / 345.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.02495, allocations: 0 / 345.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.02501, allocations: 44 kB / 345.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.02507, allocations: 31.98 kB / 345.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.02626, allocations: 0.9535 MB / 346.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.03014, allocations: 3.102 MB / 349.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.03119, allocations: 0.8058 MB / 350.4 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.03169, allocations: 396.2 kB / 350.8 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.542e-05/0.03177, allocations: 36.92 kB / 350.8 MB, free: 5.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.03236, allocations: 0.5058 MB / 351.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.054e-06/0.03236, allocations: 0 / 351.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.005171/0.03753, allocations: 3.699 MB / 355 MB, free: 1.012 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.0376, allocations: 141.5 kB / 355.2 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.03793, allocations: 417.4 kB / 355.6 MB, free: 432 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.03798, allocations: 45.7 kB / 355.6 MB, free: 380 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.03819, allocations: 441 kB / 356.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/0.03862, allocations: 436.2 kB / 356.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.03881, allocations: 202.9 kB / 356.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.03891, allocations: 386.7 kB / 357.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.03936, allocations: 346.5 kB / 357.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.0399, allocations: 0.5891 MB / 358 MB, free: 13.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/0.0409, allocations: 0.9271 MB / 358.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.04091, allocations: 0 / 358.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001648/0.04255, allocations: 1.363 MB / 360.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.04257, allocations: 11.94 kB / 360.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.04258, allocations: 4 kB / 360.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/0.04313, allocations: 351.1 kB / 360.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.04357, allocations: 203.7 kB / 360.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005188/0.04876, allocations: 7.983 MB / 368.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.04908, allocations: 39.98 kB / 368.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.04913, allocations: 55.97 kB / 368.9 MB, free: 2.453 MB / 330.7 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.0002669/0.0494, allocations: 257.7 kB / 369.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.04947, allocations: 79.47 kB / 369.3 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.05128, allocations: 1.282 MB / 370.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.05128, allocations: 12 kB / 370.5 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.05129, allocations: 11.98 kB / 370.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.0513, allocations: 7.984 kB / 370.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.05391, allocations: 2.338 MB / 372.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.05392, allocations: 0 / 372.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.05428, allocations: 159.9 kB / 373.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.05475, allocations: 324.7 kB / 373.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.05479, allocations: 35.94 kB / 373.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00489/0.05968, allocations: 7.619 MB / 381 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.05969, allocations: 11.88 kB / 381 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.06176, allocations: 1.806 MB / 382.8 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.06197, allocations: 151.5 kB / 383 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.06203, allocations: 32.06 kB / 383 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.06227, allocations: 35.98 kB / 383.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.06241, allocations: 104.7 kB / 383.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.06244, allocations: 39.94 kB / 383.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.06265, allocations: 279.1 kB / 383.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06265, allocations: 0 / 383.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007841/0.06343, allocations: 319.9 kB / 383.8 MB, free: 2.973 MB / 346.7 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.002625/0.06606, allocations: 2.414 MB / 386.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.06769, allocations: 1.553 MB / 387.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0677, allocations: 0 / 387.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.06861, allocations: 1.1 MB / 388.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.06901, allocations: 81.56 kB / 388.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007668/0.07667, allocations: 7.273 MB / 396.2 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.07699, allocations: 436.1 kB / 396.6 MB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000248/0.07724, allocations: 110.1 kB / 396.7 MB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.07754, allocations: 348.4 kB / 397.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.07754, allocations: 0 / 397.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.1145, allocations: 19.98 MB / 417.1 MB, free: 1.441 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/7.533, allocations: 4 kB / 417.1 MB, free: 1.438 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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: 9.452012786641717]