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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 113.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 211.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3044/0.3044, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 84.19 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4391, allocations: 62.42 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004106/0.4433, allocations: 2.691 MB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.4449, allocations: 0.7909 MB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.4451, allocations: 10.03 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.4454, allocations: 73.03 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.4457, allocations: 103.9 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.446, allocations: 113.6 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.4465, allocations: 415.1 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.4467, allocations: 148.5 kB / 0.5352 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.4469, allocations: 146.2 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.4471, allocations: 168.3 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.4472, allocations: 33.31 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.138e-05/0.4472, allocations: 33 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.4473, allocations: 89.23 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.4475, allocations: 184.5 kB / 0.5358 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.4479, allocations: 424.2 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.448, allocations: 1 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.28e-05/0.448, allocations: 4 kB / 0.5362 GB, free: 9.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.448, allocations: 3.938 kB / 0.5362 GB, free: 9.57 MB / 398.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.001099/0.4491, allocations: 0.6764 MB / 0.5369 GB, free: 8.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4491, allocations: 9.844 kB / 0.5369 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.4492, allocations: 49.33 kB / 0.5369 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4496, allocations: 285.7 kB / 0.5372 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.4497, allocations: 22.41 kB / 0.5372 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.4497, allocations: 33.78 kB / 0.5373 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.4504, allocations: 362.6 kB / 0.5376 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4504, allocations: 0 / 0.5376 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.4505, allocations: 15.72 kB / 0.5376 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.4505, allocations: 15.97 kB / 0.5376 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/0.4511, allocations: 256.2 kB / 0.5379 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.4532, allocations: 1.343 MB / 0.5392 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.4537, allocations: 201.3 kB / 0.5394 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.454, allocations: 81.56 kB / 0.5395 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.454, allocations: 5.234 kB / 0.5395 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.454, allocations: 36.78 kB / 0.5395 GB, free: 6.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 3.597e-06/0.4541, allocations: 1.188 kB / 0.5395 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008001/0.4549, allocations: 259.2 kB / 0.5398 GB, free: 6.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.455, allocations: 134.6 kB / 0.5399 GB, free: 6.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.4554, allocations: 343.7 kB / 0.5402 GB, free: 6.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.4554, allocations: 26.83 kB / 0.5402 GB, free: 6.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4556, allocations: 250.3 kB / 0.5405 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4556, allocations: 54.72 kB / 0.5405 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.4557, allocations: 58.84 kB / 0.5406 GB, free: 5.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4558, allocations: 348.5 kB / 0.5409 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.4561, allocations: 76.2 kB / 0.541 GB, free: 5.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.4563, allocations: 169.2 kB / 0.5412 GB, free: 5.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.4568, allocations: 251.8 kB / 0.5414 GB, free: 5.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4568, allocations: 1.125 kB / 0.5414 GB, free: 5.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000658/0.4575, allocations: 313.1 kB / 0.5417 GB, free: 5.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4575, allocations: 11.03 kB / 0.5417 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4576, allocations: 2.75 kB / 0.5417 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4576, allocations: 4.469 kB / 0.5417 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.458, allocations: 96.48 kB / 0.5418 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.458, allocations: 4.5 kB / 0.5418 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.4583, allocations: 48.59 kB / 0.5419 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.4583, allocations: 17.47 kB / 0.5419 GB, free: 4.992 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.000158/0.4585, allocations: 153.3 kB / 0.542 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4586, allocations: 34.02 kB / 0.5421 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.4587, allocations: 31.5 kB / 0.5421 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4587, allocations: 6.438 kB / 0.5421 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4587, allocations: 1.281 kB / 0.5421 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4587, allocations: 1.375 kB / 0.5421 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.4595, allocations: 0.5938 MB / 0.5427 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4595, allocations: 2.438 kB / 0.5427 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.4598, allocations: 61.25 kB / 0.5427 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4598, allocations: 3.688 kB / 0.5427 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.4598, allocations: 6.188 kB / 0.5427 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4599, allocations: 10.38 kB / 0.5428 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4599, allocations: 2.375 kB / 0.5428 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.4604, allocations: 396.9 kB / 0.5431 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.4605, allocations: 114.9 kB / 0.5432 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.4605, allocations: 6.25 kB / 0.5432 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.4608, allocations: 17.52 kB / 0.5433 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.4608, allocations: 17.8 kB / 0.5433 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.4609, allocations: 4.656 kB / 0.5433 GB, free: 3.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.4611, allocations: 238.4 kB / 0.5435 GB, free: 3.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.4612, allocations: 0 / 0.5435 GB, free: 3.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000428/0.4616, allocations: 75.64 kB / 0.5436 GB, free: 3.547 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.0001419/0.4617, allocations: 92.59 kB / 0.5437 GB, free: 3.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005946/0.4623, allocations: 201.7 kB / 0.5439 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4624, allocations: 1.125 kB / 0.5439 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.4626, allocations: 78.27 kB / 0.5439 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.463, allocations: 25.53 kB / 0.544 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4642, allocations: 0.5681 MB / 0.5445 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.4646, allocations: 0.7756 MB / 0.5453 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.4647, allocations: 25.56 kB / 0.5453 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.4648, allocations: 19.59 kB / 0.5453 GB, free: 2.137 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4648, allocations: 4 kB / 0.5453 GB, free: 2.133 MB / 398.1 MB Notification: Performance of Templates: time 0.005339/0.4702, allocations: 1.856 MB / 0.5471 GB, free: 0.582 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches