Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009745/0.0009746, allocations: 175.3 kB / 16.76 MB, free: 5.051 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.546/1.546, allocations: 205.4 MB / 222.9 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.0008166/0.0008167, allocations: 89.02 kB / 271.3 MB, free: 8.246 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.3416/0.3416, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 8 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 58.84 MB / 491.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4486, allocations: 87.89 MB / 0.5658 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.4489, allocations: 63.97 kB / 0.5658 GB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01995/0.4688, allocations: 6.978 MB / 0.5726 GB, free: 7.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4689, allocations: 4 kB / 0.5726 GB, free: 7.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.4689, allocations: 4 kB / 0.5727 GB, free: 7.094 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.001241/0.4702, allocations: 0.619 MB / 0.5733 GB, free: 6.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4702, allocations: 8.031 kB / 0.5733 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.4704, allocations: 40.47 kB / 0.5733 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.4708, allocations: 281.7 kB / 0.5736 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.4708, allocations: 25.38 kB / 0.5736 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.4709, allocations: 36.38 kB / 0.5736 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.4716, allocations: 370.5 kB / 0.574 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4716, allocations: 4 kB / 0.574 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.4717, allocations: 12 kB / 0.574 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.4717, allocations: 12 kB / 0.574 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.4723, allocations: 287.8 kB / 0.5743 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.4744, allocations: 1.295 MB / 0.5755 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.4749, allocations: 203.3 kB / 0.5757 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.4752, allocations: 91.5 kB / 0.5758 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.4752, allocations: 7.984 kB / 0.5758 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4752, allocations: 38.5 kB / 0.5759 GB, free: 3.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.4752, allocations: 0 / 0.5759 GB, free: 3.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008409/0.4761, allocations: 281.5 kB / 0.5761 GB, free: 3.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.4762, allocations: 132.5 kB / 0.5763 GB, free: 3.102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.4766, allocations: 328.4 kB / 0.5766 GB, free: 2.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4766, allocations: 25.7 kB / 0.5766 GB, free: 2.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.4768, allocations: 231.6 kB / 0.5768 GB, free: 2.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.4768, allocations: 67.2 kB / 0.5769 GB, free: 2.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.4768, allocations: 8 kB / 0.5769 GB, free: 2.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.477, allocations: 334.8 kB / 0.5772 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.4772, allocations: 88.5 kB / 0.5773 GB, free: 2.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.4775, allocations: 188.2 kB / 0.5775 GB, free: 1.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.478, allocations: 279.7 kB / 0.5778 GB, free: 1.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4781, allocations: 0 / 0.5778 GB, free: 1.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006573/0.4787, allocations: 333.1 kB / 0.5781 GB, free: 1.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4787, allocations: 4 kB / 0.5781 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4788, allocations: 4.25 kB / 0.5781 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4788, allocations: 8 kB / 0.5781 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.4791, allocations: 75.89 kB / 0.5782 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.4791, allocations: 7.984 kB / 0.5782 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.4794, allocations: 51.58 kB / 0.5782 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.4794, allocations: 15.98 kB / 0.5782 GB, free: 0.9805 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.0001519/0.4796, allocations: 157.7 kB / 0.5784 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.4797, allocations: 23.72 kB / 0.5784 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.4798, allocations: 30.41 kB / 0.5784 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4798, allocations: 7.984 kB / 0.5784 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4798, allocations: 3.938 kB / 0.5784 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4798, allocations: 4 kB / 0.5784 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.4806, allocations: 0.5953 MB / 0.579 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4806, allocations: 4 kB / 0.579 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.4808, allocations: 39.97 kB / 0.5791 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4808, allocations: 4 kB / 0.5791 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4808, allocations: 4 kB / 0.5791 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4809, allocations: 12.09 kB / 0.5791 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4809, allocations: 3.938 kB / 0.5791 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.4814, allocations: 417.2 kB / 0.5795 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.4815, allocations: 104.7 kB / 0.5796 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4816, allocations: 7.984 kB / 0.5796 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.4818, allocations: 23.92 kB / 0.5796 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.4819, allocations: 15.92 kB / 0.5796 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4819, allocations: 8.062 kB / 0.5796 GB, free: 15.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.4822, allocations: 227.1 kB / 0.5799 GB, free: 15.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4822, allocations: 0 / 0.5799 GB, free: 15.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000397/0.4826, allocations: 75.75 kB / 0.5799 GB, free: 15.11 MB / 410.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.0001485/0.4827, allocations: 111.2 kB / 0.58 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.4833, allocations: 208.1 kB / 0.5802 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4833, allocations: 8.062 kB / 0.5802 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.4835, allocations: 87.83 kB / 0.5803 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.484, allocations: 29.36 kB / 0.5804 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.4851, allocations: 0.6535 MB / 0.581 GB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.4855, allocations: 0.7755 MB / 0.5818 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.4856, allocations: 26.11 kB / 0.5818 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.4857, allocations: 23.38 kB / 0.5818 GB, free: 13.12 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4857, allocations: 0 / 0.5818 GB, free: 13.12 MB / 410.7 MB Notification: Performance of Templates: time 0.00493/0.4906, allocations: 1.671 MB / 0.5834 GB, free: 11.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches