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.001242/0.001242, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 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.001311/0.001311, allocations: 208.2 kB / 23.72 MB, free: 4.527 MB / 14.72 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 1.393/1.393, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001484/0.001484, allocations: 51.92 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2964, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008473/0.3049, allocations: 5.85 MB / 436.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.3096, allocations: 2.464 MB / 439.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.31, allocations: 23.94 kB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.3129, allocations: 1.186 MB / 440.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3142, allocations: 0.5201 MB / 441.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.3166, allocations: 1.197 MB / 442.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.3179, allocations: 1.071 MB / 443.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.319, allocations: 0.7818 MB / 444.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.3196, allocations: 466.3 kB / 444.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007324/0.3203, allocations: 0.5407 MB / 445.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.3205, allocations: 100 kB / 445.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008178/0.3213, allocations: 411.6 kB / 445.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.3215, allocations: 243.1 kB / 445.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.322, allocations: 430 kB / 446.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.3238, allocations: 1.537 MB / 447.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3238, allocations: 0 / 447.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3238, allocations: 0 / 447.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.3238, allocations: 3.938 kB / 447.9 MB, free: 5.781 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.004605/0.3284, allocations: 1.692 MB / 449.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3285, allocations: 12.03 kB / 449.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002652/0.3287, allocations: 171.4 kB / 449.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.3319, allocations: 475.8 kB / 450.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007865/0.3327, allocations: 452.9 kB / 450.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/0.3328, allocations: 82.23 kB / 450.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.333, allocations: 116 kB / 450.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.335, allocations: 1.025 MB / 451.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3351, allocations: 0 / 451.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.3352, allocations: 47.98 kB / 451.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.3352, allocations: 28 kB / 451.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.3372, allocations: 0.9536 MB / 452.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006136/0.3433, allocations: 3.079 MB / 456 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.3451, allocations: 0.8172 MB / 456.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007627/0.3459, allocations: 394.6 kB / 457.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.346, allocations: 28.98 kB / 457.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009406/0.3469, allocations: 0.5135 MB / 457.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.665e-06/0.3469, allocations: 0 / 457.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009504/0.3564, allocations: 3.71 MB / 461.4 MB, free: 7.867 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.3566, allocations: 145.5 kB / 461.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.3572, allocations: 417.4 kB / 462 MB, free: 7.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/0.3572, allocations: 45.7 kB / 462 MB, free: 7.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.3576, allocations: 433 kB / 462.4 MB, free: 6.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.358, allocations: 456.1 kB / 462.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.3584, allocations: 202.9 kB / 463.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.3586, allocations: 378.8 kB / 463.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.3594, allocations: 354.4 kB / 463.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000988/0.3604, allocations: 0.5876 MB / 464.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.3622, allocations: 0.9265 MB / 465.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.3622, allocations: 0 / 465.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00271/0.3649, allocations: 1.374 MB / 466.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3649, allocations: 4 kB / 466.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3649, allocations: 4 kB / 466.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009662/0.3659, allocations: 351.1 kB / 467 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/0.3668, allocations: 207.7 kB / 467.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008634/0.3754, allocations: 7.992 MB / 475.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.3762, allocations: 44.17 kB / 475.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.3763, allocations: 47.98 kB / 475.3 MB, free: 9.293 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.0004656/0.3767, allocations: 257.5 kB / 475.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.3769, allocations: 75.53 kB / 475.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.3796, allocations: 1.293 MB / 476.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3796, allocations: 12 kB / 477 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.3796, allocations: 8 kB / 477 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3796, allocations: 3.984 kB / 477 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.384, allocations: 2.342 MB / 479.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.384, allocations: 3.938 kB / 479.3 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.3848, allocations: 155.7 kB / 479.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008499/0.3856, allocations: 331.2 kB / 479.8 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.3857, allocations: 27.98 kB / 479.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008625/0.3943, allocations: 7.628 MB / 487.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/0.3943, allocations: 11.92 kB / 487.5 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.3978, allocations: 1.802 MB / 489.3 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.3982, allocations: 147.4 kB / 489.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3983, allocations: 28 kB / 489.4 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.3988, allocations: 35.98 kB / 489.5 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.3991, allocations: 108.7 kB / 489.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.3991, allocations: 35.98 kB / 489.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003574/0.3995, allocations: 279.1 kB / 489.9 MB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3995, allocations: 4 kB / 489.9 MB, free: 10.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001288/0.4008, allocations: 319.9 kB / 490.2 MB, free: 9.801 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.003955/0.4047, allocations: 2.423 MB / 492.6 MB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.4076, allocations: 1.545 MB / 494.2 MB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4076, allocations: 0 / 494.2 MB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.4095, allocations: 1.104 MB / 495.3 MB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.4101, allocations: 73.64 kB / 495.3 MB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.4226, allocations: 7.31 MB / 0.4909 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.4231, allocations: 436.1 kB / 0.4913 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004117/0.4235, allocations: 110.1 kB / 0.4914 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.424, allocations: 355.3 kB / 0.4917 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.424, allocations: 0 / 0.4917 GB, free: 12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06606/0.49, allocations: 20.2 MB / 0.5115 GB, free: 8.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.43, allocations: 0 / 0.5115 GB, free: 8.012 MB / 430.1 MB " [Timeout remaining time 647] (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/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_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: 15.574177964008413]