Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 198.2 kB / 17.08 MB, free: 5.082 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.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008667/0.0008667, allocations: 107.8 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001924/0.0001923, allocations: 8 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1829, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08997/0.2729, allocations: 82.31 MB / 491.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.2732, allocations: 87.94 kB / 491.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03221/0.3054, allocations: 12.42 MB / 0.4924 GB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3054, allocations: 0 / 0.4924 GB, free: 11.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.3054, allocations: 12 kB / 0.4924 GB, free: 11.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001411/0.3069, allocations: 0.772 MB / 0.4932 GB, free: 10.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3069, allocations: 8.031 kB / 0.4932 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.307, allocations: 63.25 kB / 0.4932 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.3075, allocations: 360 kB / 0.4936 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.3076, allocations: 37.31 kB / 0.4936 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.3077, allocations: 51.95 kB / 0.4937 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007862/0.3085, allocations: 442.5 kB / 0.4941 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3085, allocations: 0 / 0.4941 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.3085, allocations: 20 kB / 0.4941 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3086, allocations: 12 kB / 0.4941 GB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.3094, allocations: 409 kB / 0.4945 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.3119, allocations: 1.593 MB / 0.4961 GB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.3127, allocations: 417.3 kB / 0.4965 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3127, allocations: 12.39 kB / 0.4965 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3128, allocations: 38.89 kB / 0.4965 GB, free: 7.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.3128, allocations: 0 / 0.4965 GB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.00328/0.3161, allocations: 1.298 MB / 0.4978 GB, free: 5.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3161, allocations: 59.97 kB / 0.4978 GB, free: 5.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.3165, allocations: 356.7 kB / 0.4982 GB, free: 5.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3165, allocations: 37.7 kB / 0.4982 GB, free: 5.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3167, allocations: 307.9 kB / 0.4985 GB, free: 5.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3168, allocations: 185.2 kB / 0.4987 GB, free: 5.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3169, allocations: 16 kB / 0.4987 GB, free: 5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.317, allocations: 362.7 kB / 0.499 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.3174, allocations: 185.2 kB / 0.4992 GB, free: 4.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.3179, allocations: 306.1 kB / 0.4995 GB, free: 4.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.3183, allocations: 222.1 kB / 0.4997 GB, free: 3.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3184, allocations: 0 / 0.4997 GB, free: 3.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001362/0.3197, allocations: 0.7615 MB / 0.5005 GB, free: 3.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3198, allocations: 8 kB / 0.5005 GB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3198, allocations: 0 / 0.5005 GB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.3203, allocations: 193.6 kB / 0.5007 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.3208, allocations: 119.8 kB / 0.5008 GB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1587/0.4794, allocations: 3.99 MB / 0.5047 GB, free: 93.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.48, allocations: 36.97 kB / 0.5047 GB, free: 93.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.4801, allocations: 27.39 kB / 0.5047 GB, free: 93.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (58): * Single equations (assignments): 56 * 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: 2 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002342/0.4803, allocations: 178.4 kB / 0.5049 GB, free: 92.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.4804, allocations: 53.56 kB / 0.505 GB, free: 92.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.4805, allocations: 62.7 kB / 0.505 GB, free: 92.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4805, allocations: 6.375 kB / 0.505 GB, free: 92.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.4805, allocations: 5.625 kB / 0.505 GB, free: 92.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4806, allocations: 4.922 kB / 0.505 GB, free: 92.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.4828, allocations: 1.315 MB / 0.5063 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4829, allocations: 3.156 kB / 0.5063 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.4832, allocations: 76.19 kB / 0.5064 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/0.4837, allocations: 176.9 kB / 0.5066 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.4837, allocations: 7.594 kB / 0.5066 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.4868, allocations: 3.889 MB / 0.5104 GB, free: 89.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4868, allocations: 1.375 kB / 0.5104 GB, free: 89.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.488, allocations: 0.7657 MB / 0.5111 GB, free: 89.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.979e-05/0.4881, allocations: 119.9 kB / 0.5112 GB, free: 89.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.4881, allocations: 11.86 kB / 0.5112 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.4884, allocations: 33.03 kB / 0.5113 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4885, allocations: 47.53 kB / 0.5113 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.4886, allocations: 14.52 kB / 0.5113 GB, free: 89.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.4889, allocations: 279.1 kB / 0.5116 GB, free: 89.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4889, allocations: 0.6875 kB / 0.5116 GB, free: 89.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007351/0.4896, allocations: 153.1 kB / 0.5117 GB, free: 89.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (33): * Single equations (assignments): 31 * 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: 2 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.4898, allocations: 123.9 kB / 0.5119 GB, free: 89.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.4911, allocations: 0.8238 MB / 0.5127 GB, free: 88.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4911, allocations: 1.344 kB / 0.5127 GB, free: 88.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007376/0.4919, allocations: 0.5568 MB / 0.5132 GB, free: 88.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4922, allocations: 42.09 kB / 0.5133 GB, free: 88.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.4935, allocations: 1.114 MB / 0.5143 GB, free: 87.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.4937, allocations: 0.8858 MB / 0.5152 GB, free: 86.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.4939, allocations: 41.73 kB / 0.5152 GB, free: 86.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.494, allocations: 30.06 kB / 0.5153 GB, free: 86.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.494, allocations: 0 / 0.5153 GB, free: 86.81 MB / 378.7 MB Notification: Performance of Templates: time 0.00744/0.5015, allocations: 4.773 MB / 0.5199 GB, free: 86.54 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches