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.001199/0.001199, allocations: 113.6 kB / 17.08 MB, free: 6.016 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.001049/0.001049, allocations: 198.3 kB / 18.01 MB, free: 5.094 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.445/1.445, 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.214/0.214, allocations: 43.52 MB / 314.8 MB, free: 472 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.001363/0.001363, allocations: 67.89 kB / 442.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1143, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004064/0.1184, allocations: 2.624 MB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.12, allocations: 0.7952 MB / 0.4919 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.1203, allocations: 12 kB / 0.4919 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1207, allocations: 67.36 kB / 0.4919 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.1211, allocations: 95.19 kB / 0.492 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1215, allocations: 111.8 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.1219, allocations: 426.4 kB / 0.4925 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.1222, allocations: 143.2 kB / 0.4927 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1224, allocations: 147.5 kB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1226, allocations: 171.2 kB / 0.493 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.1227, allocations: 32 kB / 0.493 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.1227, allocations: 36 kB / 0.493 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.1228, allocations: 75.75 kB / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.123, allocations: 179 kB / 0.4933 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.1233, allocations: 430.4 kB / 0.4937 GB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1234, allocations: 0 / 0.4937 GB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1234, allocations: 0 / 0.4937 GB, free: 6.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1234, allocations: 0 / 0.4937 GB, free: 6.508 MB / 382.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.0009926/0.1244, allocations: 0.6591 MB / 0.4943 GB, free: 5.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1244, allocations: 11.89 kB / 0.4943 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1245, allocations: 40.47 kB / 0.4944 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.1249, allocations: 276.6 kB / 0.4947 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.1249, allocations: 25.38 kB / 0.4947 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.125, allocations: 32.36 kB / 0.4947 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.1256, allocations: 366.2 kB / 0.4951 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1257, allocations: 0 / 0.4951 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.1257, allocations: 12 kB / 0.4951 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1257, allocations: 8 kB / 0.4951 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/0.1263, allocations: 267.8 kB / 0.4953 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.1282, allocations: 1.33 MB / 0.4966 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.1287, allocations: 202.5 kB / 0.4968 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.1289, allocations: 79.52 kB / 0.4969 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.129, allocations: 8 kB / 0.4969 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.129, allocations: 38.44 kB / 0.4969 GB, free: 2.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.129, allocations: 7.938 kB / 0.497 GB, free: 2.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007744/0.1298, allocations: 245.1 kB / 0.4972 GB, free: 2.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.1299, allocations: 136.5 kB / 0.4973 GB, free: 2.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.1302, allocations: 328.4 kB / 0.4976 GB, free: 2.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1302, allocations: 29.7 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1304, allocations: 243.7 kB / 0.4979 GB, free: 1.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.1305, allocations: 51.27 kB / 0.4979 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.1305, allocations: 53.89 kB / 0.498 GB, free: 1.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1307, allocations: 342.8 kB / 0.4983 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.1309, allocations: 80.5 kB / 0.4984 GB, free: 1.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.1312, allocations: 172.2 kB / 0.4986 GB, free: 1.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.1317, allocations: 251.4 kB / 0.4988 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1317, allocations: 0 / 0.4988 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006405/0.1324, allocations: 309.4 kB / 0.4991 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1324, allocations: 8 kB / 0.4991 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1324, allocations: 0 / 0.4991 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1324, allocations: 8 kB / 0.4991 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.1328, allocations: 91.86 kB / 0.4992 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.1329, allocations: 4 kB / 0.4992 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.1331, allocations: 51.5 kB / 0.4992 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1332, allocations: 20.05 kB / 0.4993 GB, free: 388 kB / 382.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.000141/0.1333, allocations: 149.7 kB / 0.4994 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.66e-05/0.1334, allocations: 31.62 kB / 0.4994 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.1335, allocations: 34.41 kB / 0.4995 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1335, allocations: 4 kB / 0.4995 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1335, allocations: 0 / 0.4995 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1335, allocations: 3.984 kB / 0.4995 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.1343, allocations: 0.5954 MB / 0.5001 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1343, allocations: 0 / 0.5001 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.1346, allocations: 59.89 kB / 0.5001 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1346, allocations: 3.984 kB / 0.5001 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1346, allocations: 12.09 kB / 0.5001 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1346, allocations: 0 / 0.5001 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1346, allocations: 4 kB / 0.5001 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.1352, allocations: 394.5 kB / 0.5005 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.1353, allocations: 112.7 kB / 0.5006 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.1353, allocations: 3.938 kB / 0.5006 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1356, allocations: 19.98 kB / 0.5006 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.1356, allocations: 23.91 kB / 0.5007 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1357, allocations: 4 kB / 0.5007 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.1359, allocations: 227.1 kB / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1359, allocations: 0 / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.1363, allocations: 71.78 kB / 0.501 GB, free: 14.52 MB / 398.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.847e-05/0.1364, allocations: 95.25 kB / 0.501 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005307/0.1369, allocations: 199.7 kB / 0.5012 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1369, allocations: 0 / 0.5012 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.1372, allocations: 88.77 kB / 0.5013 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1376, allocations: 32.03 kB / 0.5014 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008864/0.1385, allocations: 0.5746 MB / 0.5019 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1388, allocations: 0.7753 MB / 0.5027 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.1389, allocations: 19.44 kB / 0.5027 GB, free: 12.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1389, allocations: 0 / 0.5027 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Templates: time 0.004868/0.1438, allocations: 3.194 MB / 0.5058 GB, free: 9.465 MB / 398.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","/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