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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.001211, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 60.2 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.097, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007428/0.1045, allocations: 6.473 MB / 365.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.1087, allocations: 2.643 MB / 368 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/0.1091, allocations: 20 kB / 368 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.1117, allocations: 1.271 MB / 369.3 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.1129, allocations: 0.5357 MB / 369.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.1151, allocations: 1.264 MB / 371.1 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1858/0.3009, allocations: 1.075 MB / 372.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.3029, allocations: 0.8941 MB / 373.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008139/0.3037, allocations: 447.2 kB / 373.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3048, allocations: 0.547 MB / 374.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000366/0.3051, allocations: 96.97 kB / 374.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.3064, allocations: 421.5 kB / 374.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.3068, allocations: 235 kB / 374.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.3078, allocations: 0.515 MB / 375.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.3103, allocations: 1.524 MB / 376.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3103, allocations: 0 / 376.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3103, allocations: 1.875 kB / 376.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.3104, allocations: 0 / 376.8 MB, free: 9.406 MB / 302.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.004751/0.3151, allocations: 1.644 MB / 378.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3152, allocations: 9.438 kB / 378.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/0.3185, allocations: 495.1 kB / 379 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.3194, allocations: 0.4911 MB / 379.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.3195, allocations: 98.56 kB / 379.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3197, allocations: 110.5 kB / 379.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.3217, allocations: 0.9734 MB / 380.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.3217, allocations: 1.984 kB / 380.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/0.3218, allocations: 47.69 kB / 380.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.3219, allocations: 27.34 kB / 380.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.3237, allocations: 0.9556 MB / 381.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006299/0.33, allocations: 3.768 MB / 385.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.3318, allocations: 1.547 MB / 387 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008518/0.3327, allocations: 444.3 kB / 387.4 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.3329, allocations: 181.5 kB / 387.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008802/0.3338, allocations: 470.5 kB / 388.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 4.007e-06/0.3338, allocations: 4 kB / 388.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.008725/0.3425, allocations: 3.984 MB / 392 MB, free: 1.785 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3426, allocations: 158.1 kB / 392.2 MB, free: 1.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.343, allocations: 404.2 kB / 392.6 MB, free: 1.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.3431, allocations: 47.05 kB / 392.6 MB, free: 1.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.3433, allocations: 421.2 kB / 393.1 MB, free: 1.031 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.3435, allocations: 431 kB / 393.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.3438, allocations: 201.7 kB / 393.7 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.3439, allocations: 381.5 kB / 394 MB, free: 260 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/0.3446, allocations: 356.5 kB / 394.4 MB, free: 128 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/0.3454, allocations: 0.5468 MB / 394.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.347, allocations: 0.9382 MB / 395.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.347, allocations: 1.438 kB / 395.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002913/0.3499, allocations: 1.383 MB / 397.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.35, allocations: 6.125 kB / 397.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.35, allocations: 9.781 kB / 397.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008596/0.3508, allocations: 352.4 kB / 397.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.3516, allocations: 208.1 kB / 397.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007336/0.359, allocations: 8.486 MB / 406.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/0.3598, allocations: 43.2 kB / 406.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.3599, allocations: 50.17 kB / 406.4 MB, free: 6.855 MB / 318.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.0005942/0.3605, allocations: 261.3 kB / 406.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3607, allocations: 71.97 kB / 406.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.3631, allocations: 1.301 MB / 408 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3632, allocations: 12 kB / 408 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3632, allocations: 8 kB / 408 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3632, allocations: 7.969 kB / 408.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.3672, allocations: 2.534 MB / 410.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3672, allocations: 0 / 410.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.3679, allocations: 150.6 kB / 410.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00074/0.3686, allocations: 328.9 kB / 411.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.3687, allocations: 25.03 kB / 411.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006724/0.3754, allocations: 8.122 MB / 419.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3754, allocations: 3.938 kB / 419.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.3785, allocations: 1.835 MB / 421 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.3788, allocations: 220.2 kB / 421.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.3789, allocations: 24 kB / 421.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.3794, allocations: 35.98 kB / 421.3 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.3796, allocations: 104 kB / 421.4 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.3797, allocations: 35.98 kB / 421.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.38, allocations: 283.1 kB / 421.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 3e-07/0.38, allocations: 0 / 421.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001186/0.3812, allocations: 316 kB / 422 MB, free: 7.066 MB / 334.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.0002757/0.3814, allocations: 178.7 kB / 422.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002459/0.3839, allocations: 1.61 MB / 423.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3839, allocations: 1.062 kB / 423.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.3854, allocations: 1.142 MB / 425 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.386, allocations: 81.48 kB / 425 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.3892, allocations: 1.934 MB / 427 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.3898, allocations: 1.024 MB / 428 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003916/0.3902, allocations: 102.2 kB / 428.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3904, allocations: 59.42 kB / 428.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3904, allocations: 3.938 kB / 428.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of Templates: time 0.02013/0.4105, allocations: 11.05 MB / 439.2 MB, free: 5.832 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches