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.0016/0.0016, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.441/2.441, 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.0007417/0.0007417, allocations: 85.42 kB / 271.9 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.4122/0.4122, allocations: 43.56 MB / 363.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5769/0.713, allocations: 87.88 MB / 0.5657 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.7134, allocations: 65.31 kB / 0.5658 GB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0282/0.7417, allocations: 6.979 MB / 0.5726 GB, free: 7.387 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.7417, allocations: 0 / 0.5726 GB, free: 7.387 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.7418, allocations: 8 kB / 0.5726 GB, free: 7.379 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.001406/0.7432, allocations: 0.6151 MB / 0.5732 GB, free: 6.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.7432, allocations: 8.031 kB / 0.5732 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.7434, allocations: 40.47 kB / 0.5733 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.744, allocations: 281.7 kB / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.7441, allocations: 25.38 kB / 0.5736 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.7442, allocations: 36.36 kB / 0.5736 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.7452, allocations: 370.6 kB / 0.574 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.7453, allocations: 7.938 kB / 0.574 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.7453, allocations: 16 kB / 0.574 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.7454, allocations: 8 kB / 0.574 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009743/0.7463, allocations: 295.8 kB / 0.5743 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.7491, allocations: 1.295 MB / 0.5755 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.7498, allocations: 199.2 kB / 0.5757 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.7502, allocations: 91.58 kB / 0.5758 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.7502, allocations: 7.984 kB / 0.5758 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.7503, allocations: 38.5 kB / 0.5759 GB, free: 3.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.467e-06/0.7503, allocations: 0 / 0.5759 GB, free: 3.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001146/0.7514, allocations: 285.1 kB / 0.5761 GB, free: 3.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.7515, allocations: 132.5 kB / 0.5762 GB, free: 3.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.752, allocations: 320.5 kB / 0.5766 GB, free: 3.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.7521, allocations: 29.7 kB / 0.5766 GB, free: 3.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.7523, allocations: 235.6 kB / 0.5768 GB, free: 2.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.7524, allocations: 55.14 kB / 0.5769 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.7524, allocations: 8 kB / 0.5769 GB, free: 2.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.7526, allocations: 346.8 kB / 0.5772 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.753, allocations: 80.52 kB / 0.5773 GB, free: 2.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.7534, allocations: 188.2 kB / 0.5775 GB, free: 2.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.7542, allocations: 291 kB / 0.5777 GB, free: 1.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7542, allocations: 0 / 0.5777 GB, free: 1.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009822/0.7552, allocations: 321 kB / 0.578 GB, free: 1.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.7553, allocations: 8 kB / 0.578 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.7553, allocations: 4 kB / 0.5781 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.7553, allocations: 4 kB / 0.5781 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.7559, allocations: 84.02 kB / 0.5781 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.7559, allocations: 4 kB / 0.5781 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.7564, allocations: 51.58 kB / 0.5782 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.7564, allocations: 8.562 kB / 0.5782 GB, free: 1.273 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.0002519/0.7567, allocations: 157.6 kB / 0.5783 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.7568, allocations: 27.72 kB / 0.5784 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.7569, allocations: 34.41 kB / 0.5784 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.7569, allocations: 4 kB / 0.5784 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.757, allocations: 0 / 0.5784 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.757, allocations: 11.88 kB / 0.5784 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.7583, allocations: 0.5914 MB / 0.579 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7583, allocations: 0 / 0.579 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.7586, allocations: 47.97 kB / 0.579 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.7586, allocations: 0 / 0.579 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.7586, allocations: 4 kB / 0.579 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.7586, allocations: 11.92 kB / 0.5791 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.7587, allocations: 3.938 kB / 0.5791 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.7595, allocations: 408 kB / 0.5795 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.7596, allocations: 112.7 kB / 0.5796 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.7597, allocations: 4 kB / 0.5796 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.7601, allocations: 27.92 kB / 0.5796 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.7602, allocations: 19.91 kB / 0.5796 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.7602, allocations: 8 kB / 0.5796 GB, free: 15.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003591/0.7606, allocations: 223.1 kB / 0.5798 GB, free: 15.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7606, allocations: 0 / 0.5798 GB, free: 15.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007401/0.7613, allocations: 75.75 kB / 0.5799 GB, free: 15.39 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.0002155/0.7615, allocations: 112.5 kB / 0.58 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009149/0.7625, allocations: 211.7 kB / 0.5802 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7625, allocations: 0 / 0.5802 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.7629, allocations: 96.58 kB / 0.5803 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008348/0.7638, allocations: 32.69 kB / 0.5803 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.7653, allocations: 0.6784 MB / 0.581 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.7659, allocations: 0.7755 MB / 0.5818 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.766, allocations: 27.38 kB / 0.5818 GB, free: 13.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7661, allocations: 4 kB / 0.5818 GB, free: 13.39 MB / 410.7 MB Notification: Performance of Templates: time 0.00811/0.7742, allocations: 3.121 MB / 0.5848 GB, free: 10.27 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