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.001233/0.001233, allocations: 118.8 kB / 17.79 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.00133/0.00133, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 71.89 kB / 481.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4309, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003981/0.4349, allocations: 2.692 MB / 0.5336 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.4363, allocations: 0.7838 MB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.4365, allocations: 5.5 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.4367, allocations: 77.05 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.437, allocations: 111.5 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.4373, allocations: 106.8 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.4377, allocations: 418 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.438, allocations: 145.1 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.4382, allocations: 149.5 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.4384, allocations: 176.7 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.4385, allocations: 33.19 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.642e-05/0.4385, allocations: 36.38 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.4386, allocations: 77.84 kB / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.4388, allocations: 183.8 kB / 0.5358 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.4392, allocations: 422.8 kB / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4392, allocations: 0 / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4392, allocations: 0 / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4392, allocations: 1.125 kB / 0.5362 GB, free: 9.559 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.001097/0.4403, allocations: 0.6714 MB / 0.5369 GB, free: 8.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4404, allocations: 11.47 kB / 0.5369 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.4404, allocations: 44.28 kB / 0.5369 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.4408, allocations: 282.2 kB / 0.5372 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.4409, allocations: 29.97 kB / 0.5372 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.4409, allocations: 34.16 kB / 0.5373 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.4416, allocations: 361.8 kB / 0.5376 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4416, allocations: 1.219 kB / 0.5376 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.4417, allocations: 10.59 kB / 0.5376 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.4417, allocations: 16.03 kB / 0.5376 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/0.4424, allocations: 267.6 kB / 0.5379 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.4445, allocations: 1.335 MB / 0.5392 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.445, allocations: 202.1 kB / 0.5394 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.4453, allocations: 83.81 kB / 0.5395 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.4454, allocations: 2.406 kB / 0.5395 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4454, allocations: 45.42 kB / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.4454, allocations: 0 / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008933/0.4463, allocations: 247.5 kB / 0.5398 GB, free: 6.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.4465, allocations: 131.5 kB / 0.5399 GB, free: 6.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.4469, allocations: 342.6 kB / 0.5402 GB, free: 6.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.447, allocations: 31.27 kB / 0.5402 GB, free: 6.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.4472, allocations: 238.9 kB / 0.5405 GB, free: 6.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.4473, allocations: 48.92 kB / 0.5405 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.4474, allocations: 54.27 kB / 0.5406 GB, free: 5.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00026/0.4477, allocations: 357.6 kB / 0.5409 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.448, allocations: 70.92 kB / 0.541 GB, free: 5.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.4484, allocations: 178.8 kB / 0.5411 GB, free: 5.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.4491, allocations: 251.8 kB / 0.5414 GB, free: 5.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4491, allocations: 0 / 0.5414 GB, free: 5.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007768/0.4499, allocations: 305.8 kB / 0.5417 GB, free: 5.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.4499, allocations: 5.625 kB / 0.5417 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4499, allocations: 3.125 kB / 0.5417 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.45, allocations: 4.531 kB / 0.5417 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.4505, allocations: 97.23 kB / 0.5418 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/0.4505, allocations: 8.969 kB / 0.5418 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.4508, allocations: 52.05 kB / 0.5418 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.4509, allocations: 9.938 kB / 0.5418 GB, free: 5.008 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.0002168/0.4511, allocations: 152.4 kB / 0.542 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4512, allocations: 33.64 kB / 0.542 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.4514, allocations: 35.91 kB / 0.5421 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4514, allocations: 6.25 kB / 0.5421 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.4514, allocations: 2.219 kB / 0.5421 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.4514, allocations: 1.219 kB / 0.5421 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00097/0.4524, allocations: 0.5939 MB / 0.5426 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.4524, allocations: 1.25 kB / 0.5426 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.4527, allocations: 58.19 kB / 0.5427 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4527, allocations: 2.688 kB / 0.5427 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4528, allocations: 10.44 kB / 0.5427 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4528, allocations: 3.281 kB / 0.5427 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4528, allocations: 2.094 kB / 0.5427 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.4534, allocations: 396.8 kB / 0.5431 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.4535, allocations: 113.5 kB / 0.5432 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.4535, allocations: 11.38 kB / 0.5432 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.4537, allocations: 12.8 kB / 0.5432 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.4538, allocations: 14.61 kB / 0.5432 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4538, allocations: 4.719 kB / 0.5432 GB, free: 3.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.4541, allocations: 241.3 kB / 0.5435 GB, free: 3.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4541, allocations: 4 kB / 0.5435 GB, free: 3.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.4545, allocations: 71.31 kB / 0.5436 GB, free: 3.566 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.0001391/0.4546, allocations: 100.7 kB / 0.5436 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.4553, allocations: 198.8 kB / 0.5438 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4554, allocations: 1.125 kB / 0.5438 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.4556, allocations: 80.89 kB / 0.5439 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.4561, allocations: 32.19 kB / 0.5439 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4573, allocations: 0.5499 MB / 0.5445 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.4577, allocations: 0.7759 MB / 0.5452 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.4578, allocations: 24.88 kB / 0.5453 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.4579, allocations: 23.5 kB / 0.5453 GB, free: 2.16 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4579, allocations: 0 / 0.5453 GB, free: 2.16 MB / 398.1 MB Notification: Performance of Templates: time 0.005449/0.4633, allocations: 1.897 MB / 0.5471 GB, free: 0.5859 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