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.001413/0.001413, allocations: 113.8 kB / 17.78 MB, free: 5.289 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.001564/0.001564, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.54/1.54, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.311/0.311, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 59.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4334, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.00396/0.4374, allocations: 2.649 MB / 0.5215 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.4384, allocations: 0.7463 MB / 0.5222 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.4386, allocations: 9.406 kB / 0.5222 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.4388, allocations: 66.94 kB / 0.5223 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.4391, allocations: 105.8 kB / 0.5224 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.4394, allocations: 107.9 kB / 0.5225 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.4398, allocations: 426.2 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.4401, allocations: 150.4 kB / 0.523 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.4403, allocations: 152.6 kB / 0.5232 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.4405, allocations: 170.9 kB / 0.5234 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.4405, allocations: 32.5 kB / 0.5234 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.528e-05/0.4406, allocations: 34.25 kB / 0.5234 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.4407, allocations: 78.59 kB / 0.5235 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.4408, allocations: 177.9 kB / 0.5237 GB, free: 424 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.4413, allocations: 422.8 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4413, allocations: 1.156 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4413, allocations: 0 / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4413, allocations: 0 / 0.5241 GB, free: 248 kB / 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.00105/0.4424, allocations: 0.6667 MB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4424, allocations: 11.88 kB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.4425, allocations: 40.16 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.4429, allocations: 275.5 kB / 0.525 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4429, allocations: 27.03 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.443, allocations: 30.3 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.4437, allocations: 368.5 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4437, allocations: 5.375 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.4437, allocations: 10.75 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4438, allocations: 8.859 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.4444, allocations: 264.9 kB / 0.5257 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.4464, allocations: 1.34 MB / 0.527 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.4469, allocations: 197.1 kB / 0.5272 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.4471, allocations: 80.42 kB / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.4472, allocations: 6.906 kB / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.4472, allocations: 35.97 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.4472, allocations: 0 / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007569/0.448, allocations: 255.8 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.448, allocations: 131.3 kB / 0.5277 GB, free: 13.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.4484, allocations: 321.3 kB / 0.528 GB, free: 13.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4484, allocations: 33.83 kB / 0.528 GB, free: 13.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4485, allocations: 241.5 kB / 0.5283 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.4486, allocations: 54.16 kB / 0.5283 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.4487, allocations: 58.52 kB / 0.5284 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4488, allocations: 341.6 kB / 0.5287 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.449, allocations: 74.56 kB / 0.5288 GB, free: 12.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.4493, allocations: 177.7 kB / 0.5289 GB, free: 12.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.4498, allocations: 254.4 kB / 0.5292 GB, free: 12.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4499, allocations: 5.281 kB / 0.5292 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006706/0.4505, allocations: 309.2 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4506, allocations: 5.656 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.4506, allocations: 4.75 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4506, allocations: 3.219 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.451, allocations: 89.84 kB / 0.5296 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.451, allocations: 12.55 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.4513, allocations: 43.3 kB / 0.5296 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.4513, allocations: 17.88 kB / 0.5296 GB, free: 11.98 MB / 398.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.0001455/0.4515, allocations: 152.3 kB / 0.5298 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.872e-05/0.4516, allocations: 29.59 kB / 0.5298 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.4517, allocations: 35.55 kB / 0.5299 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4517, allocations: 2.406 kB / 0.5299 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4517, allocations: 1.125 kB / 0.5299 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4517, allocations: 1.219 kB / 0.5299 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.4525, allocations: 0.5968 MB / 0.5304 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4525, allocations: 1.906 kB / 0.5304 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.4528, allocations: 54.34 kB / 0.5305 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4528, allocations: 7.219 kB / 0.5305 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4528, allocations: 6.125 kB / 0.5305 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4528, allocations: 2.156 kB / 0.5305 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4528, allocations: 6.781 kB / 0.5305 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.4533, allocations: 392.3 kB / 0.5309 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.4534, allocations: 106 kB / 0.531 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.4535, allocations: 11.12 kB / 0.531 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.4537, allocations: 16.31 kB / 0.531 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.4538, allocations: 22.08 kB / 0.531 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4538, allocations: 5.5 kB / 0.531 GB, free: 10.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.454, allocations: 226.3 kB / 0.5313 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.454, allocations: 0 / 0.5313 GB, free: 10.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.4544, allocations: 75.75 kB / 0.5313 GB, free: 10.55 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 0.0001006/0.4545, allocations: 99.97 kB / 0.5314 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005661/0.4551, allocations: 207.3 kB / 0.5316 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4551, allocations: 0 / 0.5316 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.4554, allocations: 74.05 kB / 0.5317 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.4558, allocations: 30.28 kB / 0.5317 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/0.4567, allocations: 0.5326 MB / 0.5322 GB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4571, allocations: 0.777 MB / 0.533 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.574e-05/0.4572, allocations: 21.52 kB / 0.533 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.4572, allocations: 31.08 kB / 0.5331 GB, free: 9.152 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4572, allocations: 3.938 kB / 0.5331 GB, free: 9.148 MB / 398.1 MB Notification: Performance of Templates: time 0.004839/0.4621, allocations: 1.846 MB / 0.5349 GB, free: 8.23 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/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