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.001631/0.001631, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00187/0.00187, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.456/1.456, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.00159/0.00159, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1041, allocations: 53.34 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2207/0.3248, allocations: 6.525 MB / 432.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.329, allocations: 2.646 MB / 435.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/0.3295, allocations: 23.31 kB / 435.5 MB, free: 7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.3321, allocations: 1.278 MB / 436.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.3334, allocations: 0.5329 MB / 437.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.3357, allocations: 1.269 MB / 438.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.3369, allocations: 1.069 MB / 439.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009435/0.3379, allocations: 0.699 MB / 440.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.3384, allocations: 461.5 kB / 440.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005747/0.3389, allocations: 0.5433 MB / 441.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3391, allocations: 95.91 kB / 441.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008789/0.3399, allocations: 423.1 kB / 441.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.3401, allocations: 236.2 kB / 442.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.3405, allocations: 0.5229 MB / 442.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.3424, allocations: 1.524 MB / 444.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3424, allocations: 3.938 kB / 444.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3424, allocations: 0 / 444.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.229e-05/0.3424, allocations: 0 / 444.1 MB, free: 2.914 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.004422/0.3468, allocations: 1.672 MB / 445.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3469, allocations: 9.562 kB / 445.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.3471, allocations: 177.6 kB / 446 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.3503, allocations: 478.3 kB / 446.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.351, allocations: 0.4934 MB / 447 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.3511, allocations: 83.64 kB / 447 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.3512, allocations: 120.9 kB / 447.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.353, allocations: 0.9755 MB / 448.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.353, allocations: 5.812 kB / 448.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/0.3531, allocations: 46.62 kB / 448.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.3531, allocations: 25.59 kB / 448.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.355, allocations: 0.9586 MB / 449.2 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006467/0.3615, allocations: 3.763 MB / 452.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.3636, allocations: 1.492 MB / 454.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.3644, allocations: 384.8 kB / 454.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.3646, allocations: 201.1 kB / 455 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000892/0.3655, allocations: 470.5 kB / 455.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.645e-06/0.3655, allocations: 0 / 455.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009971/0.3755, allocations: 3.993 MB / 459.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3756, allocations: 145.2 kB / 459.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.3761, allocations: 415.6 kB / 460 MB, free: 9.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/0.3762, allocations: 50.17 kB / 460 MB, free: 9.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.3765, allocations: 433.5 kB / 460.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.3769, allocations: 451.1 kB / 460.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.3772, allocations: 203.5 kB / 461.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3774, allocations: 378.4 kB / 461.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.3782, allocations: 351 kB / 461.8 MB, free: 8.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.3792, allocations: 0.5445 MB / 462.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.3809, allocations: 0.9436 MB / 463.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3809, allocations: 1.062 kB / 463.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002867/0.3838, allocations: 1.378 MB / 464.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3838, allocations: 6.969 kB / 464.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3838, allocations: 4.188 kB / 464.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.3848, allocations: 353.1 kB / 465 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/0.3857, allocations: 203.3 kB / 465.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009375/0.395, allocations: 8.488 MB / 473.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009276/0.396, allocations: 48.11 kB / 473.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.396, allocations: 48.02 kB / 473.8 MB, free: 14.56 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.0005377/0.3966, allocations: 262.4 kB / 474.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.3967, allocations: 79.92 kB / 474.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.3995, allocations: 1.28 MB / 475.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.3995, allocations: 15.88 kB / 475.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.3996, allocations: 8.688 kB / 475.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.3996, allocations: 7.703 kB / 475.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004599/0.4042, allocations: 2.524 MB / 478 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.4042, allocations: 3.938 kB / 478 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/0.4049, allocations: 155.8 kB / 478.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/0.4057, allocations: 329.8 kB / 478.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.4058, allocations: 32.86 kB / 478.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00848/0.4143, allocations: 8.109 MB / 486.6 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.4143, allocations: 12 kB / 486.6 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00369/0.418, allocations: 1.81 MB / 488.4 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.4184, allocations: 224.6 kB / 488.7 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4185, allocations: 24 kB / 488.7 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.419, allocations: 39.98 kB / 488.7 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.4192, allocations: 101.8 kB / 488.8 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.4193, allocations: 35.98 kB / 488.9 MB, free: 356 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.4196, allocations: 279.2 kB / 489.1 MB, free: 72 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4196, allocations: 0 / 489.1 MB, free: 72 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001312/0.421, allocations: 312 kB / 489.4 MB, free: 15.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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.003916/0.4249, allocations: 2.431 MB / 491.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.4279, allocations: 1.565 MB / 493.4 MB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4279, allocations: 0 / 493.4 MB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.4297, allocations: 1.1 MB / 494.5 MB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.4304, allocations: 81.45 kB / 494.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.4428, allocations: 7.332 MB / 0.4902 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.4435, allocations: 1.024 MB / 0.4912 GB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.4439, allocations: 98.17 kB / 0.4913 GB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.4444, allocations: 355.3 kB / 0.4916 GB, free: 1.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4444, allocations: 3.938 kB / 0.4916 GB, free: 1.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.062/0.5064, allocations: 18.73 MB / 0.5099 GB, free: 14.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/18.07, allocations: 11.75 kB / 0.5099 GB, free: 14.76 MB / 430.1 MB " [Timeout remaining time 642] (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: 20.80506033799611]