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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 104.2 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 194.5 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2035/0.2035, allocations: 43.51 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 72.34 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1089, allocations: 57.8 MB / 440.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003392/0.1124, allocations: 2.655 MB / 443.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1136, allocations: 0.7914 MB / 444.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.1139, allocations: 8 kB / 444.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.1142, allocations: 55.62 kB / 444.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.1145, allocations: 83.42 kB / 444.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1148, allocations: 87.92 kB / 444.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.1152, allocations: 418.2 kB / 444.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.1154, allocations: 143.2 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.1157, allocations: 151.4 kB / 445 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1158, allocations: 167.2 kB / 445.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.1159, allocations: 35.94 kB / 445.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.116, allocations: 32 kB / 445.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.116, allocations: 83.73 kB / 445.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.1162, allocations: 179 kB / 445.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1164, allocations: 323.2 kB / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1164, allocations: 0 / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1164, allocations: 3.938 kB / 445.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.1165, allocations: 0 / 445.8 MB, free: 2.168 MB / 318.1 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.0009826/0.1174, allocations: 0.6552 MB / 446.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1175, allocations: 15.89 kB / 446.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.1176, allocations: 48.38 kB / 446.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1178, allocations: 272.7 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.1179, allocations: 21.38 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.1179, allocations: 32.38 kB / 446.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.1185, allocations: 362.2 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1185, allocations: 0 / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.1186, allocations: 16 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1186, allocations: 8 kB / 447.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.1191, allocations: 263.7 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.1211, allocations: 1.346 MB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.1216, allocations: 198.5 kB / 449 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.1218, allocations: 79.56 kB / 449.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.1218, allocations: 8 kB / 449.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.1219, allocations: 38.56 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.1219, allocations: 0 / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007833/0.1227, allocations: 253.4 kB / 449.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.1227, allocations: 132.5 kB / 449.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.1231, allocations: 332.4 kB / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1231, allocations: 25.7 kB / 449.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1233, allocations: 231.6 kB / 450.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.1234, allocations: 63.12 kB / 450.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.463e-05/0.1235, allocations: 57.89 kB / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1236, allocations: 350.7 kB / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.1238, allocations: 77.02 kB / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.1241, allocations: 168.2 kB / 450.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.1246, allocations: 254.9 kB / 451.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1246, allocations: 0 / 451.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006411/0.1253, allocations: 309.1 kB / 451.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1253, allocations: 8 kB / 451.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1253, allocations: 0 / 451.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1253, allocations: 8 kB / 451.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.1257, allocations: 92.11 kB / 451.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1258, allocations: 7.938 kB / 451.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.1261, allocations: 47.52 kB / 451.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1261, allocations: 12 kB / 451.5 MB, free: 12.04 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.1263, allocations: 157.6 kB / 451.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.664e-05/0.1264, allocations: 31.62 kB / 451.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.1264, allocations: 34.41 kB / 451.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1264, allocations: 7.938 kB / 451.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1264, allocations: 0 / 451.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1265, allocations: 0 / 451.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.1273, allocations: 0.5916 MB / 452.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.1273, allocations: 4 kB / 452.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.1276, allocations: 55.88 kB / 452.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1276, allocations: 4 kB / 452.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1276, allocations: 11.94 kB / 452.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1276, allocations: 0 / 452.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1276, allocations: 4 kB / 452.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.1282, allocations: 394.6 kB / 452.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.1283, allocations: 112.7 kB / 452.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.1283, allocations: 7.938 kB / 452.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.1285, allocations: 24.05 kB / 453 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.1286, allocations: 7.984 kB / 453 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1286, allocations: 11.94 kB / 453 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.1289, allocations: 223.1 kB / 453.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1289, allocations: 4 kB / 453.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.1293, allocations: 71.84 kB / 453.3 MB, free: 10.17 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.1294, allocations: 107.2 kB / 453.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.1299, allocations: 196.1 kB / 453.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1299, allocations: 0 / 453.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.1302, allocations: 83.83 kB / 453.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.1307, allocations: 33.92 kB / 453.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1318, allocations: 0.6962 MB / 454.4 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1322, allocations: 0.7753 MB / 455.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.1323, allocations: 19.44 kB / 455.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1323, allocations: 0 / 455.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of Templates: time 0.005424/0.1377, allocations: 3.125 MB / 458.3 MB, free: 5.059 MB / 334.1 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