Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009859/0.0009859, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000794/0.0007939, allocations: 102.3 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001958/0.0001958, allocations: 4 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1817, allocations: 51.47 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08439/0.2662, allocations: 82.05 MB / 491.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.2664, allocations: 83.95 kB / 491.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01926/0.2857, allocations: 7.362 MB / 498.9 MB, free: 1.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2857, allocations: 0 / 498.9 MB, free: 1.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.2857, allocations: 8 kB / 498.9 MB, free: 1.078 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008545/0.2866, allocations: 0.5578 MB / 499.5 MB, free: 484 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2866, allocations: 12.03 kB / 499.5 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.2868, allocations: 51.59 kB / 499.5 MB, free: 420 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.2872, allocations: 256.1 kB / 499.8 MB, free: 120 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.2872, allocations: 28.44 kB / 499.8 MB, free: 92 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.2873, allocations: 35.91 kB / 499.9 MB, free: 56 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.2877, allocations: 244.9 kB / 0.4884 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2878, allocations: 0 / 0.4884 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.2878, allocations: 12 kB / 0.4884 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2878, allocations: 8 kB / 0.4884 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.2883, allocations: 214.1 kB / 0.4886 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.2898, allocations: 1.021 MB / 0.4896 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.2903, allocations: 218.2 kB / 0.4898 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.2903, allocations: 8.062 kB / 0.4898 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2903, allocations: 30.56 kB / 0.4898 GB, free: 14.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.2904, allocations: 0 / 0.4898 GB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00582/0.2962, allocations: 1.502 MB / 0.4913 GB, free: 12.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2962, allocations: 59.34 kB / 0.4914 GB, free: 12.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.2965, allocations: 212.1 kB / 0.4916 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2965, allocations: 29.7 kB / 0.4916 GB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2966, allocations: 184.2 kB / 0.4918 GB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.136e-05/0.2967, allocations: 110.3 kB / 0.4919 GB, free: 12.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.2968, allocations: 8 kB / 0.4919 GB, free: 12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2969, allocations: 342.8 kB / 0.4922 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.2972, allocations: 108 kB / 0.4923 GB, free: 11.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.2975, allocations: 164.5 kB / 0.4925 GB, free: 11.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.2978, allocations: 121.6 kB / 0.4926 GB, free: 11.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2978, allocations: 3.938 kB / 0.4926 GB, free: 11.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001927/0.2997, allocations: 0.5346 MB / 0.4931 GB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.2998, allocations: 7.953 kB / 0.4931 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2998, allocations: 4 kB / 0.4931 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.3017, allocations: 253.4 kB / 0.4934 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.302, allocations: 59.95 kB / 0.4934 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/0.3068, allocations: 3.79 MB / 0.4971 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.307, allocations: 16.02 kB / 0.4971 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.307, allocations: 12.09 kB / 0.4971 GB, free: 6.309 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.3072, allocations: 145.8 kB / 0.4973 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.3073, allocations: 27.66 kB / 0.4973 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.226e-05/0.3074, allocations: 46.95 kB / 0.4974 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3074, allocations: 4 kB / 0.4974 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3074, allocations: 0 / 0.4974 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3074, allocations: 7.938 kB / 0.4974 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.3078, allocations: 385.3 kB / 0.4977 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3078, allocations: 0 / 0.4977 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.3081, allocations: 43.97 kB / 0.4978 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.3095, allocations: 249.4 kB / 0.498 GB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.3095, allocations: 4 kB / 0.498 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/0.3134, allocations: 3.692 MB / 0.5016 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3134, allocations: 0 / 0.5016 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3152, allocations: 0.7114 MB / 0.5023 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.3153, allocations: 104.8 kB / 0.5024 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.3153, allocations: 4 kB / 0.5024 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3155, allocations: 12.09 kB / 0.5024 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.3156, allocations: 31.89 kB / 0.5025 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.3157, allocations: 24 kB / 0.5025 GB, free: 472 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.3158, allocations: 168.4 kB / 0.5026 GB, free: 304 kB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3158, allocations: 0 / 0.5026 GB, free: 304 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005011/0.3163, allocations: 108 kB / 0.5027 GB, free: 196 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.3165, allocations: 118.3 kB / 0.5029 GB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1432/0.4597, allocations: 0.5503 MB / 0.5034 GB, free: 96.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4598, allocations: 2.562 kB / 0.5034 GB, free: 96.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.4604, allocations: 431.9 kB / 0.5038 GB, free: 95.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.4608, allocations: 16.78 kB / 0.5038 GB, free: 95.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.4622, allocations: 0.8376 MB / 0.5046 GB, free: 95.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.4625, allocations: 0.7849 MB / 0.5054 GB, free: 94.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.4627, allocations: 23.69 kB / 0.5054 GB, free: 94.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.4627, allocations: 18.02 kB / 0.5055 GB, free: 94.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4627, allocations: 0 / 0.5055 GB, free: 94.79 MB / 378.7 MB Notification: Performance of Templates: time 0.009871/0.4726, allocations: 5.314 MB / 0.5106 GB, free: 94.56 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches