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.001319/0.001319, allocations: 107.5 kB / 17.04 MB, free: 5.809 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.001432/0.001432, allocations: 196 kB / 17.97 MB, free: 5.027 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.367/1.367, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2037/0.2037, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001456/0.001456, allocations: 64.08 kB / 384.2 MB, free: 56.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003283/0.1081, allocations: 2.621 MB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.109, allocations: 0.7875 MB / 445.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1091, allocations: 11.94 kB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1093, allocations: 63.39 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1095, allocations: 103.2 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.1097, allocations: 115.8 kB / 445.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.11, allocations: 422.5 kB / 446.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1102, allocations: 147.2 kB / 446.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1103, allocations: 147.4 kB / 446.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1105, allocations: 167.2 kB / 446.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.1105, allocations: 32 kB / 446.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.934e-05/0.1106, allocations: 36 kB / 446.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.1106, allocations: 79.73 kB / 446.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1107, allocations: 179 kB / 446.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.111, allocations: 422.4 kB / 447.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.111, allocations: 0 / 447.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.111, allocations: 0 / 447.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.111, allocations: 8 kB / 447.3 MB, free: 0.8281 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.0008524/0.1119, allocations: 0.6551 MB / 447.9 MB, free: 128 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1119, allocations: 11.89 kB / 447.9 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.112, allocations: 44.38 kB / 448 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.1123, allocations: 280.7 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1124, allocations: 21.38 kB / 448.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.1124, allocations: 36.31 kB / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.113, allocations: 354.2 kB / 448.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.113, allocations: 4 kB / 448.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1131, allocations: 16 kB / 448.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1131, allocations: 11.98 kB / 448.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.1137, allocations: 264.9 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1156, allocations: 1.338 MB / 450.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.116, allocations: 198.5 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.1162, allocations: 87.45 kB / 450.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1163, allocations: 4 kB / 450.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1163, allocations: 34.56 kB / 450.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.502e-06/0.1163, allocations: 4 kB / 450.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.000739/0.1171, allocations: 249.6 kB / 450.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.1171, allocations: 136.5 kB / 451 MB, free: 12.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.1175, allocations: 328.3 kB / 451.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1175, allocations: 25.7 kB / 451.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1177, allocations: 235.7 kB / 451.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.1177, allocations: 55.2 kB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.19e-05/0.1178, allocations: 61.92 kB / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.118, allocations: 342.8 kB / 452 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.1182, allocations: 80.5 kB / 452.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.1185, allocations: 168.2 kB / 452.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.1189, allocations: 258.9 kB / 452.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1189, allocations: 0 / 452.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006033/0.1195, allocations: 297 kB / 452.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1196, allocations: 13.23 kB / 452.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1196, allocations: 4.25 kB / 452.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1196, allocations: 8 kB / 452.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.12, allocations: 87.81 kB / 452.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.12, allocations: 7.984 kB / 452.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.1203, allocations: 51.52 kB / 453 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.1203, allocations: 12 kB / 453 MB, free: 10.71 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.0001291/0.1205, allocations: 153.7 kB / 453.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.1206, allocations: 31.62 kB / 453.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.1206, allocations: 34.67 kB / 453.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1207, allocations: 4 kB / 453.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1207, allocations: 0 / 453.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1207, allocations: 3.984 kB / 453.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.1214, allocations: 0.5954 MB / 453.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1214, allocations: 0 / 453.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.1217, allocations: 59.88 kB / 453.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1217, allocations: 0 / 453.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1217, allocations: 15.88 kB / 453.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1217, allocations: 7.938 kB / 453.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1217, allocations: 160 / 453.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.1222, allocations: 398.6 kB / 454.3 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.1223, allocations: 108.7 kB / 454.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.1224, allocations: 8 kB / 454.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.1226, allocations: 23.97 kB / 454.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1227, allocations: 7.984 kB / 454.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1227, allocations: 12 kB / 454.4 MB, free: 9.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.1229, allocations: 227.1 kB / 454.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1229, allocations: 0 / 454.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.1233, allocations: 67.84 kB / 454.7 MB, free: 8.844 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 9.467e-05/0.1234, allocations: 99.19 kB / 454.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004993/0.1239, allocations: 195.8 kB / 455 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1239, allocations: 0 / 455 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.1242, allocations: 83.83 kB / 455.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.1246, allocations: 29.31 kB / 455.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.1255, allocations: 0.5425 MB / 455.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1258, allocations: 0.7753 MB / 456.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.34e-05/0.1259, allocations: 21.95 kB / 456.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.1259, allocations: 23.42 kB / 456.5 MB, free: 7 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.126, allocations: 0 / 456.5 MB, free: 7 MB / 334.1 MB Notification: Performance of Templates: time 0.004624/0.1306, allocations: 1.81 MB / 458.3 MB, free: 5.199 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches