Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9225/0.9225, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.166e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.004915/0.004937, allocations: 5.791 MB / 324.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.007937, allocations: 2.382 MB / 326.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.008275, allocations: 23.94 kB / 326.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.00998, allocations: 1.251 MB / 327.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.01101, allocations: 0.687 MB / 328.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.01211, allocations: 1.046 MB / 329.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008284/0.01294, allocations: 1.109 MB / 330.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008238/0.01376, allocations: 0.7661 MB / 331.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.01433, allocations: 0.647 MB / 332.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.01474, allocations: 414.8 kB / 332.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.322e-05/0.01483, allocations: 96 kB / 332.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.01535, allocations: 387.4 kB / 333 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.01547, allocations: 247.1 kB / 333.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.0157, allocations: 355.1 kB / 333.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.01682, allocations: 1.55 MB / 335.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01682, allocations: 4 kB / 335.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01682, allocations: 0 / 335.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.01684, allocations: 0 / 335.2 MB, free: 5.551 MB / 298.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.002389/0.01923, allocations: 1.669 MB / 336.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.01927, allocations: 8.922 kB / 336.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.01943, allocations: 175.4 kB / 337 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.02091, allocations: 491.8 kB / 337.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.02137, allocations: 427.6 kB / 337.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.02141, allocations: 86.61 kB / 338 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.837e-05/0.02151, allocations: 115.9 kB / 338.1 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.0226, allocations: 1.025 MB / 339.1 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.02262, allocations: 4 kB / 339.1 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.02268, allocations: 43.94 kB / 339.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.0227, allocations: 32 kB / 339.2 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.02378, allocations: 0.9536 MB / 340.2 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.02706, allocations: 3.066 MB / 343.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.02807, allocations: 0.818 MB / 344 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.02853, allocations: 400.2 kB / 344.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.02858, allocations: 20.98 kB / 344.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005087/0.02909, allocations: 0.5097 MB / 345 MB, free: 11.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.064e-06/0.02909, allocations: 0 / 345 MB, free: 11.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.005503/0.0346, allocations: 3.702 MB / 348.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.03467, allocations: 141.5 kB / 348.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.035, allocations: 409.5 kB / 349.2 MB, free: 7.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/0.03504, allocations: 45.7 kB / 349.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.03525, allocations: 433 kB / 349.7 MB, free: 6.605 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.03548, allocations: 444.1 kB / 350.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.03567, allocations: 202.9 kB / 350.3 MB, free: 5.965 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.03578, allocations: 374.8 kB / 350.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.03624, allocations: 346.5 kB / 351 MB, free: 5.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.03679, allocations: 0.5931 MB / 351.6 MB, free: 4.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.03782, allocations: 0.9335 MB / 352.5 MB, free: 3.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.03783, allocations: 4 kB / 352.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001641/0.03947, allocations: 1.37 MB / 353.9 MB, free: 2.199 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.0395, allocations: 18.89 kB / 353.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.03951, allocations: 4 kB / 353.9 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/0.04009, allocations: 343.2 kB / 354.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.04055, allocations: 207.7 kB / 354.5 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/0.04613, allocations: 7.976 MB / 362.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.04671, allocations: 48.17 kB / 362.5 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.04676, allocations: 51.98 kB / 362.5 MB, free: 9.109 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.000412/0.04717, allocations: 252.6 kB / 362.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.04726, allocations: 83.41 kB / 362.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.04892, allocations: 1.282 MB / 364.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.04893, allocations: 12 kB / 364.2 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.04893, allocations: 4 kB / 364.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.04894, allocations: 15.97 kB / 364.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.05174, allocations: 2.326 MB / 366.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.05175, allocations: 7.938 kB / 366.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.05211, allocations: 152 kB / 366.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.05262, allocations: 324.8 kB / 367 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.05267, allocations: 35.94 kB / 367 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004918/0.05759, allocations: 7.622 MB / 374.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.0576, allocations: 7.938 kB / 374.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.05972, allocations: 1.802 MB / 376.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.05998, allocations: 147.5 kB / 376.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.06004, allocations: 24 kB / 376.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.06032, allocations: 48.05 kB / 376.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.06051, allocations: 104.7 kB / 376.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.06055, allocations: 35.98 kB / 376.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.06077, allocations: 267.2 kB / 377.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06077, allocations: 0 / 377.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008902/0.06166, allocations: 323.9 kB / 377.4 MB, free: 9.652 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.00238/0.06404, allocations: 2.407 MB / 379.8 MB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.06593, allocations: 1.553 MB / 381.3 MB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.06593, allocations: 3.984 kB / 381.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.06696, allocations: 1.103 MB / 382.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.06742, allocations: 75.67 kB / 382.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008401/0.07582, allocations: 7.247 MB / 389.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.07621, allocations: 432.1 kB / 390.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.07652, allocations: 102.2 kB / 390.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.07683, allocations: 348.4 kB / 390.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.07683, allocations: 0 / 390.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04288/0.1197, allocations: 19.54 MB / 410.2 MB, free: 8.605 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.829, allocations: 0.75 kB / 410.2 MB, free: 8.605 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.77619393914938]