Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002293/0.002293, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.959/1.959, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001104/0.001103, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2953/0.2953, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.08e-05, allocations: 0 / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.6074, allocations: 87.76 MB / 0.5585 GB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.6077, allocations: 70.19 kB / 0.5586 GB, free: 15.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03171/0.6394, allocations: 6.966 MB / 0.5654 GB, free: 9.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6395, allocations: 0 / 0.5654 GB, free: 9.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.6395, allocations: 8 kB / 0.5654 GB, free: 9.844 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001469/0.641, allocations: 0.5874 MB / 0.5659 GB, free: 9.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.641, allocations: 8.031 kB / 0.5659 GB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.6412, allocations: 39.53 kB / 0.566 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.6417, allocations: 281.5 kB / 0.5663 GB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.6417, allocations: 24.22 kB / 0.5663 GB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.6418, allocations: 33.62 kB / 0.5663 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.6426, allocations: 332.1 kB / 0.5666 GB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.6426, allocations: 0 / 0.5666 GB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.6427, allocations: 10.94 kB / 0.5666 GB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.6427, allocations: 12 kB / 0.5666 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/0.6436, allocations: 214.5 kB / 0.5669 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.6479, allocations: 1.288 MB / 0.5681 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.6485, allocations: 172.4 kB / 0.5683 GB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.6488, allocations: 55.94 kB / 0.5683 GB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.6488, allocations: 4 kB / 0.5683 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.6489, allocations: 45.91 kB / 0.5684 GB, free: 7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 4.047e-06/0.6489, allocations: 0 / 0.5684 GB, free: 7 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007567/0.6497, allocations: 144.2 kB / 0.5685 GB, free: 6.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.6498, allocations: 132.5 kB / 0.5686 GB, free: 6.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.6506, allocations: 286.4 kB / 0.5689 GB, free: 6.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.6506, allocations: 29.7 kB / 0.5689 GB, free: 6.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.651, allocations: 281.8 kB / 0.5692 GB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.243e-05/0.6511, allocations: 65.61 kB / 0.5693 GB, free: 6.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.6511, allocations: 7.438 kB / 0.5693 GB, free: 6.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6514, allocations: 318.6 kB / 0.5696 GB, free: 5.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.6517, allocations: 55.62 kB / 0.5696 GB, free: 5.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.652, allocations: 143.4 kB / 0.5698 GB, free: 5.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.6524, allocations: 74.47 kB / 0.5698 GB, free: 5.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.6524, allocations: 7.953 kB / 0.5699 GB, free: 5.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009425/0.6534, allocations: 232.7 kB / 0.5701 GB, free: 5.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.6534, allocations: 4 kB / 0.5701 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.6535, allocations: 7.984 kB / 0.5701 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.6535, allocations: 7.938 kB / 0.5701 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/0.6543, allocations: 83.83 kB / 0.5702 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/0.6543, allocations: 8 kB / 0.5702 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.6551, allocations: 51.2 kB / 0.5702 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.6552, allocations: 11.77 kB / 0.5702 GB, free: 5.238 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.6554, allocations: 116.2 kB / 0.5703 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.6556, allocations: 43.56 kB / 0.5704 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.6558, allocations: 37.14 kB / 0.5704 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6558, allocations: 4 kB / 0.5704 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6559, allocations: 192 / 0.5704 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6559, allocations: 4 kB / 0.5704 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.6576, allocations: 0.5923 MB / 0.571 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6576, allocations: 0 / 0.571 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006169/0.6583, allocations: 47.91 kB / 0.5711 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.6583, allocations: 0 / 0.5711 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.6583, allocations: 7.562 kB / 0.5711 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.6584, allocations: 4 kB / 0.5711 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6584, allocations: 0 / 0.5711 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.6589, allocations: 429.3 kB / 0.5715 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.6591, allocations: 104.4 kB / 0.5716 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.6592, allocations: 4 kB / 0.5716 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.6596, allocations: 23.41 kB / 0.5716 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.6597, allocations: 27.31 kB / 0.5716 GB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.6597, allocations: 4 kB / 0.5716 GB, free: 3.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003539/0.6601, allocations: 224.9 kB / 0.5718 GB, free: 3.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6601, allocations: 4 kB / 0.5719 GB, free: 3.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007264/0.6609, allocations: 74.62 kB / 0.5719 GB, free: 3.535 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004172/0.6613, allocations: 102.7 kB / 0.572 GB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009994/0.6623, allocations: 144.2 kB / 0.5722 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6624, allocations: 0 / 0.5722 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.6626, allocations: 52.38 kB / 0.5722 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.6634, allocations: 27.45 kB / 0.5722 GB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.6657, allocations: 389.5 kB / 0.5726 GB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.6664, allocations: 0.7836 MB / 0.5734 GB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.6667, allocations: 19.44 kB / 0.5734 GB, free: 2.055 MB / 378.7 MB Notification: Performance of SimCode: time 1.853e-06/0.6667, allocations: 0 / 0.5734 GB, free: 2.055 MB / 378.7 MB Notification: Performance of Templates: time 0.01461/0.6813, allocations: 3.089 MB / 0.5764 GB, free: 15.01 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches