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.002374/0.002374, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001142/0.001141, allocations: 95.38 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.505/0.505, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4507/0.5736, allocations: 87.85 MB / 0.5645 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5739, allocations: 63.97 kB / 0.5646 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03079/0.6047, allocations: 6.972 MB / 0.5714 GB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.599e-06/0.6048, allocations: 3.984 kB / 0.5714 GB, free: 7.863 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.6048, allocations: 8 kB / 0.5714 GB, free: 7.855 MB / 394.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.001566/0.6064, allocations: 0.6188 MB / 0.572 GB, free: 7.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6065, allocations: 8.031 kB / 0.572 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.6066, allocations: 39.53 kB / 0.572 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.6071, allocations: 275.8 kB / 0.5723 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.6071, allocations: 24.98 kB / 0.5723 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.6072, allocations: 32 kB / 0.5724 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6083, allocations: 366.6 kB / 0.5727 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.6083, allocations: 3.938 kB / 0.5727 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.6084, allocations: 21.03 kB / 0.5727 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6084, allocations: 8 kB / 0.5727 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.6095, allocations: 293.4 kB / 0.573 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.6124, allocations: 1.293 MB / 0.5743 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.6132, allocations: 203.3 kB / 0.5745 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.6132, allocations: 4.062 kB / 0.5745 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.6133, allocations: 42.53 kB / 0.5745 GB, free: 4.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.025e-06/0.6133, allocations: 0 / 0.5745 GB, free: 4.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001376/0.6147, allocations: 285.1 kB / 0.5748 GB, free: 4.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.6148, allocations: 132.5 kB / 0.5749 GB, free: 3.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.6153, allocations: 287.6 kB / 0.5752 GB, free: 3.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.6153, allocations: 25.7 kB / 0.5752 GB, free: 3.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.6155, allocations: 298.1 kB / 0.5755 GB, free: 3.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.6156, allocations: 51.3 kB / 0.5756 GB, free: 3.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.6156, allocations: 4 kB / 0.5756 GB, free: 3.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.6158, allocations: 322.8 kB / 0.5759 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.6162, allocations: 92.5 kB / 0.576 GB, free: 2.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.6167, allocations: 180.1 kB / 0.5761 GB, free: 2.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.6172, allocations: 112.9 kB / 0.5762 GB, free: 2.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6172, allocations: 0 / 0.5762 GB, free: 2.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001143/0.6184, allocations: 317.1 kB / 0.5765 GB, free: 2.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6184, allocations: 4.25 kB / 0.5765 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6184, allocations: 8 kB / 0.5765 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.6185, allocations: 4 kB / 0.5766 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.6191, allocations: 79.89 kB / 0.5766 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6191, allocations: 4 kB / 0.5766 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.6197, allocations: 55.56 kB / 0.5767 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.6197, allocations: 12 kB / 0.5767 GB, free: 2.082 MB / 394.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 (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.0002292/0.6199, allocations: 153.7 kB / 0.5768 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6201, allocations: 31.58 kB / 0.5769 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.704e-05/0.6202, allocations: 38.41 kB / 0.5769 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6202, allocations: 288 / 0.5769 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6202, allocations: 4 kB / 0.5769 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6202, allocations: 3.984 kB / 0.5769 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.6213, allocations: 0.5876 MB / 0.5775 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6214, allocations: 4 kB / 0.5775 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.6218, allocations: 51.89 kB / 0.5775 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.6218, allocations: 4 kB / 0.5775 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6218, allocations: 4.156 kB / 0.5776 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.6218, allocations: 4 kB / 0.5776 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6219, allocations: 0 / 0.5776 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.6229, allocations: 0.4895 MB / 0.578 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.6231, allocations: 100.7 kB / 0.5781 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.6231, allocations: 8 kB / 0.5781 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.6235, allocations: 27.97 kB / 0.5782 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.6236, allocations: 23.88 kB / 0.5782 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.6237, allocations: 4 kB / 0.5782 GB, free: 388 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003626/0.624, allocations: 223.1 kB / 0.5784 GB, free: 168 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6241, allocations: 0 / 0.5784 GB, free: 168 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005591/0.6246, allocations: 71.84 kB / 0.5785 GB, free: 96 kB / 394.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 () * Number of clocked 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.0001676/0.6248, allocations: 107.2 kB / 0.5786 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009522/0.6258, allocations: 207.8 kB / 0.5788 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6258, allocations: 0 / 0.5788 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004385/0.6262, allocations: 96.58 kB / 0.5789 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.6267, allocations: 25.97 kB / 0.5789 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.6281, allocations: 0.6783 MB / 0.5796 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.6285, allocations: 0.78 MB / 0.5803 GB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.6287, allocations: 19.44 kB / 0.5803 GB, free: 14.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6287, allocations: 3.938 kB / 0.5803 GB, free: 14.11 MB / 410.7 MB Notification: Performance of Templates: time 0.007868/0.6366, allocations: 3.096 MB / 0.5834 GB, free: 11.02 MB / 410.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