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.001227/0.001227, allocations: 110 kB / 18.45 MB, free: 4.621 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.00132/0.00132, allocations: 186.4 kB / 19.37 MB, free: 3.703 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.307/1.307, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.1978/0.1978, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3682, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004441/0.3727, allocations: 2.664 MB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3743, allocations: 0.751 MB / 0.5229 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.3744, allocations: 5.125 kB / 0.5229 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.3747, allocations: 70.11 kB / 0.523 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.375, allocations: 97.75 kB / 0.5231 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.3753, allocations: 116.3 kB / 0.5232 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.3757, allocations: 417.4 kB / 0.5236 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.376, allocations: 147.2 kB / 0.5237 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.3762, allocations: 149.2 kB / 0.5238 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3764, allocations: 177.9 kB / 0.524 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.3765, allocations: 32.94 kB / 0.524 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.07e-05/0.3765, allocations: 32.28 kB / 0.5241 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.3766, allocations: 75.27 kB / 0.5241 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3767, allocations: 186.5 kB / 0.5243 GB, free: 420 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.3772, allocations: 418.8 kB / 0.5247 GB, free: 248 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3772, allocations: 2.094 kB / 0.5247 GB, free: 248 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3772, allocations: 0 / 0.5247 GB, free: 248 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3772, allocations: 0 / 0.5247 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.001055/0.3783, allocations: 0.6631 MB / 0.5254 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3783, allocations: 9.062 kB / 0.5254 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.3784, allocations: 45.44 kB / 0.5254 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.3788, allocations: 275.7 kB / 0.5257 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3788, allocations: 23.84 kB / 0.5257 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.3789, allocations: 33.44 kB / 0.5257 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.3796, allocations: 365.5 kB / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3796, allocations: 0 / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.3797, allocations: 15.97 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3797, allocations: 9.156 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.3803, allocations: 261.6 kB / 0.5264 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.3826, allocations: 1.347 MB / 0.5277 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.3832, allocations: 194.2 kB / 0.5279 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.3834, allocations: 84.52 kB / 0.5279 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.3835, allocations: 2.75 kB / 0.5279 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3835, allocations: 39.88 kB / 0.528 GB, free: 13.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.836e-06/0.3835, allocations: 4 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008386/0.3844, allocations: 243.8 kB / 0.5282 GB, free: 13.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.3845, allocations: 135 kB / 0.5284 GB, free: 13.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.3849, allocations: 325.3 kB / 0.5287 GB, free: 13.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3849, allocations: 31.27 kB / 0.5287 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3851, allocations: 248.1 kB / 0.5289 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.3851, allocations: 46.14 kB / 0.529 GB, free: 13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.3852, allocations: 59.2 kB / 0.529 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3854, allocations: 340.5 kB / 0.5294 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.3856, allocations: 78.88 kB / 0.5294 GB, free: 12.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.3859, allocations: 169.9 kB / 0.5296 GB, free: 12.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.3865, allocations: 263.5 kB / 0.5298 GB, free: 12.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3865, allocations: 0 / 0.5298 GB, free: 12.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006512/0.3871, allocations: 309.7 kB / 0.5301 GB, free: 12.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3872, allocations: 6.25 kB / 0.5301 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3872, allocations: 3 kB / 0.5301 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3872, allocations: 4.719 kB / 0.5302 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.3876, allocations: 92.83 kB / 0.5302 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3876, allocations: 8.219 kB / 0.5302 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.3879, allocations: 48.28 kB / 0.5303 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3879, allocations: 10.47 kB / 0.5303 GB, free: 12 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.000153/0.3881, allocations: 148.8 kB / 0.5304 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3882, allocations: 29.41 kB / 0.5305 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.3883, allocations: 34.69 kB / 0.5305 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3883, allocations: 2.562 kB / 0.5305 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3883, allocations: 4.969 kB / 0.5305 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.3883, allocations: 9.703 kB / 0.5305 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.3891, allocations: 0.5921 MB / 0.5311 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3891, allocations: 6.438 kB / 0.5311 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.3894, allocations: 58.41 kB / 0.5312 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3894, allocations: 6.125 kB / 0.5312 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3894, allocations: 7.219 kB / 0.5312 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3894, allocations: 2.125 kB / 0.5312 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3894, allocations: 6.281 kB / 0.5312 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.39, allocations: 384.5 kB / 0.5316 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.3901, allocations: 109.4 kB / 0.5317 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.3901, allocations: 6.688 kB / 0.5317 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.3904, allocations: 24.72 kB / 0.5317 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.3904, allocations: 18.23 kB / 0.5317 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3905, allocations: 4.719 kB / 0.5317 GB, free: 10.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.3907, allocations: 227.7 kB / 0.5319 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3907, allocations: 0 / 0.5319 GB, free: 10.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004111/0.3911, allocations: 70.59 kB / 0.532 GB, free: 10.56 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.0001149/0.3913, allocations: 104.9 kB / 0.5321 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005451/0.3918, allocations: 198.5 kB / 0.5323 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3918, allocations: 1.281 kB / 0.5323 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.3921, allocations: 86.23 kB / 0.5324 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.0004235/0.3925, allocations: 25.38 kB / 0.5324 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3935, allocations: 0.5596 MB / 0.5329 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3939, allocations: 0.7814 MB / 0.5337 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.394, allocations: 22.22 kB / 0.5337 GB, free: 9.145 MB / 398.1 MB Notification: Performance of SimCode: time 2.064e-06/0.394, allocations: 0 / 0.5337 GB, free: 9.145 MB / 398.1 MB Notification: Performance of Templates: time 0.005269/0.3992, allocations: 3.141 MB / 0.5368 GB, free: 7.477 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/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