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.001954/0.001954, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007761/0.0007761, allocations: 97.81 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1684/0.1684, allocations: 45.15 MB / 383.7 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.752e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09721, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.516, allocations: 89.83 MB / 0.5921 GB, free: 12.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.5162, allocations: 69.59 kB / 0.5921 GB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01793/0.5341, allocations: 7.264 MB / 0.5992 GB, free: 6.625 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5342, allocations: 0 / 0.5992 GB, free: 6.625 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.5342, allocations: 8 kB / 0.5992 GB, free: 6.617 MB / 394.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.0009279/0.5351, allocations: 0.5937 MB / 0.5998 GB, free: 6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5352, allocations: 12.03 kB / 0.5998 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.5353, allocations: 43.44 kB / 0.5999 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.5356, allocations: 279.3 kB / 0.6001 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5356, allocations: 12 kB / 0.6002 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.5357, allocations: 16 kB / 0.6002 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003457/0.536, allocations: 190.6 kB / 0.6004 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.5364, allocations: 275.7 kB / 0.6006 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.5365, allocations: 0 / 0.6006 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.5365, allocations: 3.938 kB / 0.6006 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.5365, allocations: 8 kB / 0.6006 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.5381, allocations: 1.227 MB / 0.6018 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.5384, allocations: 160.4 kB / 0.602 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.5385, allocations: 50.19 kB / 0.602 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.5385, allocations: 0 / 0.602 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5386, allocations: 46.16 kB / 0.6021 GB, free: 3.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.5386, allocations: 0 / 0.6021 GB, free: 3.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003002/0.5389, allocations: 130.9 kB / 0.6022 GB, free: 3.766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.5389, allocations: 132.5 kB / 0.6023 GB, free: 3.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.5392, allocations: 244.8 kB / 0.6026 GB, free: 3.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.5392, allocations: 25.7 kB / 0.6026 GB, free: 3.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.5393, allocations: 241.9 kB / 0.6028 GB, free: 3.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5394, allocations: 50.45 kB / 0.6029 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.5394, allocations: 4.031 kB / 0.6029 GB, free: 3.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5395, allocations: 344.9 kB / 0.6032 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.5396, allocations: 46.19 kB / 0.6032 GB, free: 2.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.5398, allocations: 132 kB / 0.6034 GB, free: 2.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.5399, allocations: 66.72 kB / 0.6034 GB, free: 2.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5399, allocations: 0 / 0.6034 GB, free: 2.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003204/0.5402, allocations: 223.8 kB / 0.6036 GB, free: 2.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5402, allocations: 8 kB / 0.6036 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5402, allocations: 4 kB / 0.6037 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5403, allocations: 11.92 kB / 0.6037 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.5406, allocations: 76.14 kB / 0.6037 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.5406, allocations: 8 kB / 0.6037 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.5408, allocations: 43.62 kB / 0.6038 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.5409, allocations: 11.19 kB / 0.6038 GB, free: 2.227 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.541, allocations: 112.9 kB / 0.6039 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.5411, allocations: 27.66 kB / 0.6039 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.5411, allocations: 30.73 kB / 0.604 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.5412, allocations: 11.98 kB / 0.604 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5412, allocations: 0 / 0.604 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5412, allocations: 4.078 kB / 0.604 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.5418, allocations: 0.539 MB / 0.6045 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5418, allocations: 160 / 0.6045 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.542, allocations: 55.89 kB / 0.6046 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5421, allocations: 0 / 0.6046 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5421, allocations: 4 kB / 0.6046 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5421, allocations: 3.953 kB / 0.6046 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5421, allocations: 4 kB / 0.6046 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.5424, allocations: 408.9 kB / 0.605 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.5425, allocations: 104.3 kB / 0.6051 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.5425, allocations: 4 kB / 0.6051 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.5427, allocations: 19.94 kB / 0.6051 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.5428, allocations: 14.92 kB / 0.6051 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5428, allocations: 11.98 kB / 0.6051 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.543, allocations: 180.3 kB / 0.6053 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.543, allocations: 0 / 0.6053 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003601/0.5433, allocations: 67.69 kB / 0.6053 GB, free: 0.6445 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.5435, allocations: 99.19 kB / 0.6054 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.5437, allocations: 131.2 kB / 0.6056 GB, free: 452 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5437, allocations: 0 / 0.6056 GB, free: 452 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.802e-05/0.5438, allocations: 55.06 kB / 0.6056 GB, free: 412 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.544, allocations: 24.48 kB / 0.6056 GB, free: 392 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.5447, allocations: 344.3 kB / 0.606 GB, free: 36 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.545, allocations: 0.7791 MB / 0.6067 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.5452, allocations: 17.86 kB / 0.6067 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.5452, allocations: 23.42 kB / 0.6068 GB, free: 15.19 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5452, allocations: 3.938 kB / 0.6068 GB, free: 15.18 MB / 410.7 MB Notification: Performance of Templates: time 0.003995/0.5492, allocations: 1.386 MB / 0.6081 GB, free: 13.82 MB / 410.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/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