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.001272/0.001272, 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.001389/0.001389, allocations: 213.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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.973 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.002057/0.002057, allocations: 67.89 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, 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.01052/0.3373, allocations: 6.572 MB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.3431, allocations: 2.655 MB / 440.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.3442, allocations: 20 kB / 440.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.348, allocations: 1.287 MB / 441.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.3502, allocations: 0.5318 MB / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.3532, allocations: 1.272 MB / 443.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.3554, allocations: 1.075 MB / 444.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.3572, allocations: 0.79 MB / 445.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009949/0.3582, allocations: 458.3 kB / 445.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.3594, allocations: 0.5446 MB / 446.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.3597, allocations: 96 kB / 446.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.3609, allocations: 427.6 kB / 446.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.3613, allocations: 235.2 kB / 447.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008634/0.3621, allocations: 0.5208 MB / 447.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.3647, allocations: 1.525 MB / 449.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3647, allocations: 0 / 449.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3647, allocations: 0 / 449.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.039e-05/0.3648, allocations: 0 / 449.2 MB, free: 4.59 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.005157/0.37, allocations: 1.7 MB / 450.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.37, allocations: 8.031 kB / 450.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003577/0.3704, allocations: 171.4 kB / 451 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.3736, allocations: 479.8 kB / 451.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.3746, allocations: 449 kB / 452 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.374e-05/0.3747, allocations: 90.23 kB / 452 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.3749, allocations: 112 kB / 452.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.377, allocations: 0.9785 MB / 453.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.377, allocations: 11.92 kB / 453.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3771, allocations: 48 kB / 453.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.3771, allocations: 24 kB / 453.2 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.3792, allocations: 0.9614 MB / 454.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/0.3856, allocations: 3.506 MB / 457.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.3873, allocations: 0.8202 MB / 458.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007629/0.3881, allocations: 391 kB / 458.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.3882, allocations: 45.02 kB / 458.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.3891, allocations: 470.5 kB / 459.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.906e-06/0.3891, allocations: 0 / 459.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009307/0.3984, allocations: 3.699 MB / 463.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.3985, allocations: 149.5 kB / 463.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.3991, allocations: 413.5 kB / 463.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.3991, allocations: 45.7 kB / 463.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.3995, allocations: 433 kB / 464.1 MB, free: 5.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.3999, allocations: 444.1 kB / 464.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.4002, allocations: 210.9 kB / 464.7 MB, free: 4.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.4004, allocations: 374.8 kB / 465.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/0.4011, allocations: 354.4 kB / 465.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008902/0.402, allocations: 0.5351 MB / 466 MB, free: 3.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.4036, allocations: 0.9303 MB / 466.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4036, allocations: 3.938 kB / 466.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002613/0.4062, allocations: 1.363 MB / 468.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4063, allocations: 8 kB / 468.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4063, allocations: 8 kB / 468.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008719/0.4072, allocations: 343.2 kB / 468.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00085/0.408, allocations: 211.6 kB / 468.8 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008562/0.4166, allocations: 8.07 MB / 476.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.4173, allocations: 43.98 kB / 477 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4174, allocations: 40 kB / 477 MB, free: 7.73 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.0005367/0.418, allocations: 273.5 kB / 477.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.4181, allocations: 75.53 kB / 477.3 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.4208, allocations: 1.282 MB / 478.6 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4208, allocations: 15.94 kB / 478.6 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.4208, allocations: 8 kB / 478.6 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.4208, allocations: 3.984 kB / 478.6 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/0.4254, allocations: 2.482 MB / 481.1 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4254, allocations: 3.938 kB / 481.1 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.4262, allocations: 156 kB / 481.3 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008341/0.427, allocations: 336.2 kB / 481.6 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.4271, allocations: 27.98 kB / 481.6 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008163/0.4352, allocations: 7.71 MB / 489.4 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4352, allocations: 7.938 kB / 489.4 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.4388, allocations: 1.802 MB / 491.2 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.4392, allocations: 147.5 kB / 491.3 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.4393, allocations: 27.98 kB / 491.3 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.4399, allocations: 35.98 kB / 491.4 MB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.4401, allocations: 104.7 kB / 491.5 MB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.4401, allocations: 39.98 kB / 491.5 MB, free: 8.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003617/0.4405, allocations: 283.1 kB / 491.8 MB, free: 8.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4405, allocations: 0 / 491.8 MB, free: 8.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001363/0.4419, allocations: 319.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.003933/0.4458, allocations: 2.427 MB / 494.5 MB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.4488, allocations: 1.545 MB / 496.1 MB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4488, allocations: 1.062 kB / 496.1 MB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.4506, allocations: 1.099 MB / 497.2 MB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.4513, allocations: 77.64 kB / 497.2 MB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.4649, allocations: 7.323 MB / 0.4927 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009753/0.4659, allocations: 1.024 MB / 0.4937 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004526/0.4663, allocations: 102.2 kB / 0.4938 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/0.4669, allocations: 355.3 kB / 0.4942 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 2.073e-06/0.4669, allocations: 0 / 0.4942 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06896/0.5358, allocations: 19.6 MB / 0.5133 GB, free: 6.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.28/19.82, allocations: 7 kB / 0.5133 GB, free: 6.133 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 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.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_trunk_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: 22.59827743121423]