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.001295/0.001295, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001415/0.001415, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.001672/0.001672, allocations: 43.92 kB / 377.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2837, allocations: 53.36 MB / 431.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008853/0.2926, allocations: 6.578 MB / 437.7 MB, free: 300 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005059/0.2976, allocations: 2.659 MB / 440.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.298, allocations: 23.94 kB / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.301, allocations: 1.279 MB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.3024, allocations: 0.5394 MB / 442.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.3049, allocations: 1.265 MB / 443.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.3062, allocations: 1.075 MB / 444.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.3074, allocations: 0.79 MB / 445.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005512/0.3079, allocations: 458.4 kB / 445.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007236/0.3087, allocations: 0.5523 MB / 446.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.3088, allocations: 96 kB / 446.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008394/0.3097, allocations: 419.7 kB / 446.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.3099, allocations: 239.1 kB / 447.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.3104, allocations: 0.5169 MB / 447.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.3123, allocations: 1.529 MB / 449.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3123, allocations: 0 / 449.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3123, allocations: 0 / 449.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3123, allocations: 0 / 449.1 MB, free: 4.824 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.004304/0.3166, allocations: 1.7 MB / 450.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3166, allocations: 8.031 kB / 450.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.3169, allocations: 171.4 kB / 451 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.3199, allocations: 483.7 kB / 451.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.3207, allocations: 448.9 kB / 451.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.3207, allocations: 82.23 kB / 452 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.3209, allocations: 124 kB / 452.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.3227, allocations: 0.9708 MB / 453.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.3228, allocations: 0 / 453.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.449e-05/0.3229, allocations: 44 kB / 453.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.3229, allocations: 28 kB / 453.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.3248, allocations: 0.9614 MB / 454.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.3308, allocations: 3.514 MB / 457.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.3326, allocations: 0.824 MB / 458.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.3333, allocations: 395.4 kB / 458.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3334, allocations: 33.05 kB / 458.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008765/0.3343, allocations: 466.5 kB / 459.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.555e-06/0.3343, allocations: 0 / 459.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009161/0.3435, allocations: 3.71 MB / 463 MB, free: 6.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.3436, allocations: 141.5 kB / 463.2 MB, free: 6.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.3441, allocations: 405.5 kB / 463.6 MB, free: 5.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.3441, allocations: 53.69 kB / 463.6 MB, free: 5.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.3445, allocations: 433 kB / 464.1 MB, free: 5.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.3449, allocations: 448.1 kB / 464.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.3452, allocations: 210.9 kB / 464.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3454, allocations: 374.8 kB / 465.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.3461, allocations: 346.5 kB / 465.4 MB, free: 4.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009085/0.347, allocations: 0.539 MB / 465.9 MB, free: 3.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.3487, allocations: 0.9303 MB / 466.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3487, allocations: 7.938 kB / 466.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002682/0.3514, allocations: 1.367 MB / 468.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3514, allocations: 8 kB / 468.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3514, allocations: 4 kB / 468.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009072/0.3523, allocations: 347.2 kB / 468.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.3532, allocations: 203.7 kB / 468.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009275/0.3625, allocations: 8.067 MB / 476.9 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.3632, allocations: 48.05 kB / 476.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.3632, allocations: 43.98 kB / 476.9 MB, free: 7.969 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.0004542/0.3637, allocations: 265.5 kB / 477.2 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3638, allocations: 79.47 kB / 477.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.3665, allocations: 1.278 MB / 478.6 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3665, allocations: 12 kB / 478.6 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3665, allocations: 8 kB / 478.6 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.3666, allocations: 7.969 kB / 478.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.3709, allocations: 2.49 MB / 481.1 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.3709, allocations: 7.969 kB / 481.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.3716, allocations: 155.8 kB / 481.2 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008189/0.3724, allocations: 325.1 kB / 481.6 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/0.3725, allocations: 35.98 kB / 481.6 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008304/0.3808, allocations: 7.711 MB / 489.3 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3808, allocations: 4 kB / 489.3 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/0.3843, allocations: 1.806 MB / 491.1 MB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.3846, allocations: 147.5 kB / 491.3 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.3847, allocations: 28 kB / 491.3 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.3852, allocations: 35.98 kB / 491.3 MB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.3855, allocations: 104.7 kB / 491.4 MB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.3855, allocations: 35.98 kB / 491.5 MB, free: 8.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003552/0.3859, allocations: 287.1 kB / 491.7 MB, free: 8.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3859, allocations: 0 / 491.7 MB, free: 8.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001198/0.3871, allocations: 315.9 kB / 492 MB, free: 8.25 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.003882/0.391, allocations: 2.423 MB / 494.5 MB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002859/0.3938, allocations: 1.546 MB / 496 MB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3938, allocations: 0 / 496 MB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.3955, allocations: 1.099 MB / 497.1 MB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3961, allocations: 77.58 kB / 497.2 MB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.4083, allocations: 7.328 MB / 0.4927 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.4091, allocations: 1.028 MB / 0.4937 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.4095, allocations: 98.16 kB / 0.4938 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.41, allocations: 355.3 kB / 0.4941 GB, free: 9.844 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.41, allocations: 0 / 0.4941 GB, free: 9.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06668/0.4766, allocations: 19.62 MB / 0.5133 GB, free: 6.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.68/20.16, allocations: 3.047 kB / 0.5133 GB, free: 6.379 MB / 430.1 MB " [Timeout remaining time 640] (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: 22.869585025822744]