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.001829/0.001829, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001978/0.001978, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.442/1.442, allocations: 230.5 MB / 258.2 MB, free: 7.773 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.88 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2662, allocations: 53.4 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008845/0.2751, allocations: 5.846 MB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005772/0.2808, allocations: 2.457 MB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008096/0.2816, allocations: 23.94 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.2849, allocations: 1.201 MB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.2868, allocations: 0.5201 MB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.2896, allocations: 1.186 MB / 443.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.2913, allocations: 1.067 MB / 444.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.2926, allocations: 0.7701 MB / 445.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.2933, allocations: 466.3 kB / 445.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006768/0.294, allocations: 489.6 kB / 446.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.2941, allocations: 100 kB / 446.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.295, allocations: 395.7 kB / 446.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.2953, allocations: 239.1 kB / 447.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.2957, allocations: 430 kB / 447.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.2976, allocations: 1.54 MB / 449.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2976, allocations: 0 / 449.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2976, allocations: 4 kB / 449.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.2976, allocations: 0 / 449.1 MB, free: 5.75 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.004391/0.302, allocations: 1.692 MB / 450.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3021, allocations: 8.031 kB / 450.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.3053, allocations: 475.8 kB / 451.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.3061, allocations: 449.2 kB / 451.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.3062, allocations: 86.22 kB / 451.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.3063, allocations: 112 kB / 451.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.3083, allocations: 1.025 MB / 452.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.3083, allocations: 3.984 kB / 452.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.962e-05/0.3084, allocations: 44 kB / 452.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.3084, allocations: 31.98 kB / 453 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3103, allocations: 0.9495 MB / 453.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005871/0.3162, allocations: 2.949 MB / 456.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.3179, allocations: 0.8133 MB / 457.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.3187, allocations: 391 kB / 458.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.3188, allocations: 28.97 kB / 458.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009272/0.3198, allocations: 0.5174 MB / 458.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.945e-06/0.3198, allocations: 0 / 458.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009298/0.3291, allocations: 3.696 MB / 462.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3292, allocations: 149.5 kB / 462.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.3297, allocations: 381.5 kB / 462.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.3297, allocations: 49.7 kB / 462.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.3301, allocations: 441 kB / 463.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/0.3305, allocations: 440.1 kB / 463.7 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.3308, allocations: 214.8 kB / 463.9 MB, free: 6.488 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.331, allocations: 374.8 kB / 464.3 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/0.3317, allocations: 342.5 kB / 464.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/0.3327, allocations: 0.5969 MB / 465.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.3344, allocations: 0.9226 MB / 466.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3344, allocations: 4 kB / 466.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002743/0.3371, allocations: 1.363 MB / 467.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3372, allocations: 7.938 kB / 467.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3372, allocations: 8 kB / 467.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009658/0.3382, allocations: 347.1 kB / 467.9 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/0.3391, allocations: 207.7 kB / 468.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009148/0.3482, allocations: 7.889 MB / 476 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.349, allocations: 43.98 kB / 476 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.3492, allocations: 47.98 kB / 476.1 MB, free: 9.801 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.0005578/0.3497, allocations: 261.7 kB / 476.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.3499, allocations: 67.58 kB / 476.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.3528, allocations: 1.281 MB / 477.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.3528, allocations: 16.06 kB / 477.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/0.3528, allocations: 11.98 kB / 477.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.3528, allocations: 7.984 kB / 477.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.3574, allocations: 2.205 MB / 479.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.3574, allocations: 7.938 kB / 479.9 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.3581, allocations: 147.8 kB / 480.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008877/0.359, allocations: 334 kB / 480.4 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.153e-05/0.3591, allocations: 27.98 kB / 480.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008892/0.368, allocations: 7.537 MB / 488 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.368, allocations: 4 kB / 488 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.3719, allocations: 1.798 MB / 489.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.3723, allocations: 147.5 kB / 489.9 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.3724, allocations: 27.98 kB / 489.9 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.373, allocations: 39.98 kB / 490 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.3732, allocations: 100.8 kB / 490.1 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.3733, allocations: 35.98 kB / 490.1 MB, free: 11.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003573/0.3737, allocations: 259.2 kB / 490.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3737, allocations: 0 / 490.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001366/0.375, allocations: 316 kB / 490.7 MB, free: 10.65 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.000428/0.3755, allocations: 186.9 kB / 490.8 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003016/0.3785, allocations: 1.546 MB / 492.4 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3785, allocations: 0 / 492.4 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.3804, allocations: 1.107 MB / 493.5 MB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.381, allocations: 80.66 kB / 493.6 MB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.3853, allocations: 1.968 MB / 495.5 MB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.3858, allocations: 436 kB / 496 MB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.3861, allocations: 71.41 kB / 496 MB, free: 5.082 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3861, allocations: 4 kB / 496 MB, free: 5.078 MB / 398.1 MB Notification: Performance of Templates: time 0.03624/0.4224, allocations: 27.32 MB / 0.5111 GB, free: 9.691 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] 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: 9.012072949670255]