Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 104.4 kB / 17.98 MB, free: 5.367 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.001933/0.001933, allocations: 193.3 kB / 18.9 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2063/0.2063, allocations: 44.17 MB / 336.9 MB, free: 2.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 64.16 kB / 408.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 60.82 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004371/0.1151, allocations: 2.7 MB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1165, allocations: 0.7478 MB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.1168, allocations: 8 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1171, allocations: 47.62 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.1175, allocations: 83.42 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1178, allocations: 91.91 kB / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.1183, allocations: 417.5 kB / 473.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.1186, allocations: 151.4 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.1189, allocations: 155.4 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1191, allocations: 175.2 kB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.1192, allocations: 32 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.984e-05/0.1193, allocations: 32 kB / 474 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.1193, allocations: 83.69 kB / 474.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1195, allocations: 175.1 kB / 474.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.1198, allocations: 315.2 kB / 474.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1199, allocations: 4 kB / 474.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1199, allocations: 0 / 474.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.1199, allocations: 0 / 474.6 MB, free: 9.496 MB / 350.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.001113/0.121, allocations: 0.6589 MB / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.1211, allocations: 16.03 kB / 475.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.1212, allocations: 40.47 kB / 475.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1215, allocations: 272.7 kB / 475.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.1215, allocations: 29.31 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.1216, allocations: 28.38 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.1223, allocations: 362.2 kB / 475.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1223, allocations: 4 kB / 475.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.1223, allocations: 12 kB / 476 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1223, allocations: 8 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006192/0.123, allocations: 267.8 kB / 476.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.125, allocations: 1.346 MB / 477.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.1256, allocations: 206.5 kB / 477.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.1258, allocations: 79.52 kB / 477.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.1258, allocations: 4 kB / 477.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1259, allocations: 42.5 kB / 477.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1259, allocations: 0 / 477.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007677/0.1266, allocations: 245.3 kB / 478.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.1267, allocations: 140.4 kB / 478.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.1271, allocations: 328.3 kB / 478.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1271, allocations: 25.7 kB / 478.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1273, allocations: 243.6 kB / 478.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.1273, allocations: 51.3 kB / 478.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.1274, allocations: 53.89 kB / 479 MB, free: 4.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1276, allocations: 346.8 kB / 479.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.1278, allocations: 80.5 kB / 479.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.1281, allocations: 172.2 kB / 479.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.1286, allocations: 246.9 kB / 479.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1286, allocations: 0 / 479.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006238/0.1292, allocations: 304.9 kB / 480.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1293, allocations: 10.34 kB / 480.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1293, allocations: 3.984 kB / 480.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.1293, allocations: 8 kB / 480.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.1297, allocations: 92.12 kB / 480.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1297, allocations: 7.984 kB / 480.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.13, allocations: 47.52 kB / 480.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.13, allocations: 12 kB / 480.3 MB, free: 3.367 MB / 350.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.0001988/0.1302, allocations: 149.7 kB / 480.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/0.1303, allocations: 31.72 kB / 480.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.1304, allocations: 34.41 kB / 480.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1304, allocations: 7.984 kB / 480.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1304, allocations: 0.5625 kB / 480.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1304, allocations: 0 / 480.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008522/0.1313, allocations: 0.5836 MB / 481.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1313, allocations: 8.156 kB / 481.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.1316, allocations: 63.88 kB / 481.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1316, allocations: 4.281 kB / 481.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1316, allocations: 7.938 kB / 481.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1316, allocations: 0 / 481.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1316, allocations: 4 kB / 481.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.1322, allocations: 394.6 kB / 481.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.1323, allocations: 116.7 kB / 481.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.1323, allocations: 3.938 kB / 481.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1326, allocations: 23.97 kB / 481.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.1326, allocations: 15.92 kB / 481.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1326, allocations: 4 kB / 481.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.1329, allocations: 227.1 kB / 481.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1329, allocations: 0 / 481.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.1333, allocations: 75.75 kB / 482 MB, free: 1.5 MB / 350.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.0001153/0.1334, allocations: 99.78 kB / 482.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.1339, allocations: 200 kB / 482.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1339, allocations: 12.06 kB / 482.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.1342, allocations: 75.89 kB / 482.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.1346, allocations: 21.84 kB / 482.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1357, allocations: 0.7116 MB / 483.1 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.136, allocations: 0.7753 MB / 483.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.1361, allocations: 23.44 kB / 483.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1361, allocations: 4 kB / 483.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Templates: time 0.005334/0.1415, allocations: 3.107 MB / 487 MB, free: 12.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches