Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.001269, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009904/0.0009901, allocations: 101.8 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4042/0.4042, allocations: 44.84 MB / 392.7 MB, free: 34.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4082, allocations: 62.02 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003514/0.4118, allocations: 2.734 MB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.4129, allocations: 0.7718 MB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.413, allocations: 5.781 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.4132, allocations: 51.36 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.4134, allocations: 96.12 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.4137, allocations: 103.8 kB / 0.5188 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.414, allocations: 387.9 kB / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.4142, allocations: 121.7 kB / 0.5193 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.4144, allocations: 151.8 kB / 0.5195 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.4145, allocations: 169.7 kB / 0.5196 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.4146, allocations: 22.78 kB / 0.5196 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.881e-05/0.4146, allocations: 21.78 kB / 0.5197 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.4147, allocations: 68.06 kB / 0.5197 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.4148, allocations: 173.4 kB / 0.5199 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.4151, allocations: 414.6 kB / 0.5203 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4151, allocations: 0 / 0.5203 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4151, allocations: 0 / 0.5203 GB, free: 34.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4152, allocations: 0 / 0.5203 GB, free: 34.46 MB / 378.7 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.000964/0.4161, allocations: 0.6654 MB / 0.5209 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4162, allocations: 10.41 kB / 0.5209 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.4162, allocations: 47.28 kB / 0.521 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.4165, allocations: 280.3 kB / 0.5213 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.4165, allocations: 27.59 kB / 0.5213 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.4166, allocations: 35.06 kB / 0.5213 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.4171, allocations: 357.2 kB / 0.5217 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4172, allocations: 0 / 0.5217 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.4172, allocations: 17.41 kB / 0.5217 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.4172, allocations: 12.09 kB / 0.5217 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.4178, allocations: 263.7 kB / 0.5219 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.4194, allocations: 1.349 MB / 0.5232 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.4199, allocations: 211.8 kB / 0.5235 GB, free: 32.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.4201, allocations: 74.83 kB / 0.5235 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.4202, allocations: 10.03 kB / 0.5235 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.4202, allocations: 41.19 kB / 0.5236 GB, free: 32.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.4202, allocations: 0 / 0.5236 GB, free: 32.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007177/0.4209, allocations: 252.7 kB / 0.5238 GB, free: 32.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.421, allocations: 131.4 kB / 0.5239 GB, free: 31.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.4213, allocations: 347.6 kB / 0.5243 GB, free: 31.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4213, allocations: 25.7 kB / 0.5243 GB, free: 31.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4214, allocations: 250.4 kB / 0.5245 GB, free: 31.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.4214, allocations: 48.38 kB / 0.5246 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.4215, allocations: 57.56 kB / 0.5246 GB, free: 31.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.4216, allocations: 345.9 kB / 0.525 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4218, allocations: 78.28 kB / 0.525 GB, free: 31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.422, allocations: 162.8 kB / 0.5252 GB, free: 30.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.4225, allocations: 254.7 kB / 0.5254 GB, free: 30.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4225, allocations: 3.875 kB / 0.5254 GB, free: 30.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005469/0.423, allocations: 298.4 kB / 0.5257 GB, free: 30.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.423, allocations: 5.969 kB / 0.5257 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4231, allocations: 5.844 kB / 0.5257 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4231, allocations: 2.75 kB / 0.5257 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.4235, allocations: 94.66 kB / 0.5258 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.4235, allocations: 10.88 kB / 0.5258 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.4237, allocations: 43.16 kB / 0.5259 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.4237, allocations: 18.56 kB / 0.5259 GB, free: 30.54 MB / 378.7 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.0001171/0.4239, allocations: 151.3 kB / 0.526 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.4239, allocations: 31.78 kB / 0.5261 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.408e-05/0.424, allocations: 29.94 kB / 0.5261 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4241, allocations: 2.625 kB / 0.5261 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4241, allocations: 2.438 kB / 0.5261 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4241, allocations: 7.188 kB / 0.5261 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.4247, allocations: 0.5849 MB / 0.5267 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4247, allocations: 2.375 kB / 0.5267 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.425, allocations: 66.09 kB / 0.5267 GB, free: 29.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.425, allocations: 6.156 kB / 0.5268 GB, free: 29.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.425, allocations: 6.781 kB / 0.5268 GB, free: 29.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.425, allocations: 3.438 kB / 0.5268 GB, free: 29.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.425, allocations: 4.062 kB / 0.5268 GB, free: 29.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.4258, allocations: 1.049 MB / 0.5278 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.4259, allocations: 115.9 kB / 0.5279 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.426, allocations: 5.094 kB / 0.5279 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.4262, allocations: 19.19 kB / 0.5279 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.4262, allocations: 17.03 kB / 0.5279 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4263, allocations: 5.469 kB / 0.5279 GB, free: 28.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.4265, allocations: 238.6 kB / 0.5282 GB, free: 28.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4265, allocations: 4 kB / 0.5282 GB, free: 28.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004417/0.4269, allocations: 74.28 kB / 0.5283 GB, free: 28.61 MB / 378.7 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.0001161/0.427, allocations: 98.33 kB / 0.5283 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.4275, allocations: 194.3 kB / 0.5285 GB, free: 28.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4275, allocations: 3.938 kB / 0.5285 GB, free: 28.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.4277, allocations: 80.02 kB / 0.5286 GB, free: 28.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.4283, allocations: 25.66 kB / 0.5286 GB, free: 28.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.4293, allocations: 0.8313 MB / 0.5294 GB, free: 27.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.4296, allocations: 0.7836 MB / 0.5302 GB, free: 27.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.4297, allocations: 23.84 kB / 0.5302 GB, free: 27.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.4297, allocations: 18.81 kB / 0.5303 GB, free: 27.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4298, allocations: 0 / 0.5303 GB, free: 27.06 MB / 378.7 MB Notification: Performance of Templates: time 0.004507/0.4343, allocations: 1.697 MB / 0.5319 GB, free: 26.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches