Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000932/0.0009319, allocations: 178 kB / 17.41 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007951/0.000795, allocations: 86.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.221, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3246, allocations: 90.95 MB / 466.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.3249, allocations: 83.95 kB / 466.8 MB, free: 5.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07215/0.3971, allocations: 30.63 MB / 497.4 MB, free: 6.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3971, allocations: 0 / 497.4 MB, free: 6.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.3972, allocations: 16 kB / 497.4 MB, free: 6.598 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003296/0.4005, allocations: 1.282 MB / 498.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4005, allocations: 12.03 kB / 498.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.4033, allocations: 475.2 kB / 499.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/0.4041, allocations: 0.5014 MB / 499.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.4042, allocations: 82.3 kB / 499.7 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.4043, allocations: 115.9 kB / 499.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.4062, allocations: 1.018 MB / 0.4891 GB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.4063, allocations: 0 / 0.4891 GB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.4064, allocations: 52 kB / 0.4892 GB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.4064, allocations: 28 kB / 0.4892 GB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.4084, allocations: 1.044 MB / 0.4902 GB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1615/0.5699, allocations: 3.901 MB / 0.494 GB, free: 92.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.5717, allocations: 2.05 MB / 0.496 GB, free: 91.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006972/0.5724, allocations: 447 kB / 0.4965 GB, free: 91.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.631e-05/0.5725, allocations: 106 kB / 0.4966 GB, free: 91.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007506/0.5733, allocations: 487.9 kB / 0.497 GB, free: 91.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 3.045e-06/0.5733, allocations: 3.531 kB / 0.497 GB, free: 91.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.008067/0.5813, allocations: 4.211 MB / 0.5011 GB, free: 90.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.5815, allocations: 226.8 kB / 0.5014 GB, free: 89.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.5819, allocations: 406.1 kB / 0.5017 GB, free: 89.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.582, allocations: 48.86 kB / 0.5018 GB, free: 89.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.5822, allocations: 439.5 kB / 0.5022 GB, free: 89.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.5824, allocations: 423.4 kB / 0.5026 GB, free: 89.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.5825, allocations: 24.03 kB / 0.5026 GB, free: 89.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.5826, allocations: 387.3 kB / 0.503 GB, free: 89.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.5833, allocations: 349.3 kB / 0.5033 GB, free: 89.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/0.584, allocations: 0.5872 MB / 0.5039 GB, free: 88.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.5853, allocations: 0.9991 MB / 0.5049 GB, free: 88.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.5854, allocations: 0 / 0.5049 GB, free: 88.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002236/0.5876, allocations: 1.403 MB / 0.5063 GB, free: 88.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.5876, allocations: 16.3 kB / 0.5063 GB, free: 88.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5877, allocations: 3.906 kB / 0.5063 GB, free: 88.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007742/0.5884, allocations: 354.1 kB / 0.5066 GB, free: 88.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/0.5893, allocations: 209.1 kB / 0.5068 GB, free: 88.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.5948, allocations: 7.694 MB / 0.5143 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/0.5956, allocations: 58.69 kB / 0.5144 GB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.5957, allocations: 46.94 kB / 0.5144 GB, free: 82.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004502/0.5962, allocations: 259.2 kB / 0.5147 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5963, allocations: 77.88 kB / 0.5148 GB, free: 82.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.5984, allocations: 1.27 MB / 0.516 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5984, allocations: 18.66 kB / 0.516 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5984, allocations: 15.17 kB / 0.516 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5984, allocations: 3.75 kB / 0.516 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.602, allocations: 2.692 MB / 0.5187 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.602, allocations: 0 / 0.5187 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.6027, allocations: 153.4 kB / 0.5188 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007196/0.6034, allocations: 328 kB / 0.5191 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/0.6035, allocations: 29.42 kB / 0.5191 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/0.6086, allocations: 7.425 MB / 0.5264 GB, free: 73.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6086, allocations: 3.875 kB / 0.5264 GB, free: 73.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.6114, allocations: 1.771 MB / 0.5281 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.6117, allocations: 232.1 kB / 0.5284 GB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.6118, allocations: 22.22 kB / 0.5284 GB, free: 72.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.6122, allocations: 37.55 kB / 0.5284 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.6124, allocations: 94.61 kB / 0.5285 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.6125, allocations: 34.12 kB / 0.5285 GB, free: 72.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.6128, allocations: 279.2 kB / 0.5288 GB, free: 72.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6128, allocations: 0 / 0.5288 GB, free: 72.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001136/0.6139, allocations: 333.4 kB / 0.5291 GB, free: 72.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(2,100.0%) 18,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002645/0.6142, allocations: 188.4 kB / 0.5293 GB, free: 72.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.6164, allocations: 1.63 MB / 0.5309 GB, free: 71.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6164, allocations: 1.625 kB / 0.5309 GB, free: 71.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.6177, allocations: 1.154 MB / 0.532 GB, free: 70.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.6183, allocations: 78.64 kB / 0.5321 GB, free: 70.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.6217, allocations: 2.489 MB / 0.5345 GB, free: 69.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.6221, allocations: 1.026 MB / 0.5355 GB, free: 68.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.6223, allocations: 69.2 kB / 0.5356 GB, free: 68.7 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6224, allocations: 0 / 0.5356 GB, free: 68.7 MB / 378.7 MB Notification: Performance of Templates: time 0.02116/0.6435, allocations: 26.51 MB / 0.5615 GB, free: 48.75 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches