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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009511/0.0009511, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008034, allocations: 83.56 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.168/0.168, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.011e-05, allocations: 4 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4819, allocations: 89.39 MB / 0.589 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.4822, allocations: 67.97 kB / 0.5891 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.501, allocations: 7.195 MB / 0.5961 GB, free: 8.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.501, allocations: 0 / 0.5961 GB, free: 8.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.501, allocations: 8 kB / 0.5961 GB, free: 8.621 MB / 410.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.0009372/0.502, allocations: 0.5861 MB / 0.5967 GB, free: 7.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.502, allocations: 8.031 kB / 0.5967 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.5021, allocations: 43.53 kB / 0.5967 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.5025, allocations: 276.3 kB / 0.597 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.5025, allocations: 24.78 kB / 0.597 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.5026, allocations: 31.94 kB / 0.597 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.5031, allocations: 331.8 kB / 0.5974 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5032, allocations: 0 / 0.5974 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.5032, allocations: 12 kB / 0.5974 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.5032, allocations: 16 kB / 0.5974 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.5036, allocations: 209 kB / 0.5976 GB, free: 6.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.5053, allocations: 1.286 MB / 0.5988 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.5057, allocations: 170.5 kB / 0.599 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.218e-05/0.5058, allocations: 63.5 kB / 0.5991 GB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.5058, allocations: 8 kB / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.5058, allocations: 46.72 kB / 0.5991 GB, free: 5.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.5058, allocations: 0 / 0.5991 GB, free: 5.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003398/0.5062, allocations: 133.2 kB / 0.5992 GB, free: 5.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.5063, allocations: 140.4 kB / 0.5994 GB, free: 4.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.5066, allocations: 290.6 kB / 0.5996 GB, free: 4.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.5066, allocations: 33.7 kB / 0.5997 GB, free: 4.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.5067, allocations: 227.4 kB / 0.5999 GB, free: 4.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.5068, allocations: 59.23 kB / 0.6 GB, free: 4.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.5068, allocations: 4 kB / 0.6 GB, free: 4.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5069, allocations: 338.8 kB / 0.6003 GB, free: 4.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.507, allocations: 52.56 kB / 0.6003 GB, free: 3.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.5072, allocations: 144.2 kB / 0.6005 GB, free: 3.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.5073, allocations: 75.91 kB / 0.6005 GB, free: 3.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5073, allocations: 0 / 0.6005 GB, free: 3.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003748/0.5077, allocations: 245 kB / 0.6008 GB, free: 3.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5078, allocations: 8.25 kB / 0.6008 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5078, allocations: 4 kB / 0.6008 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.5078, allocations: 11.95 kB / 0.6008 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.5081, allocations: 79.83 kB / 0.6009 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.5082, allocations: 7.984 kB / 0.6009 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.5084, allocations: 51.61 kB / 0.6009 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.5085, allocations: 16.16 kB / 0.6009 GB, free: 3.293 MB / 410.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 8.137e-05/0.5086, allocations: 116.9 kB / 0.6011 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.5087, allocations: 27.62 kB / 0.6011 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.5087, allocations: 34.55 kB / 0.6011 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5088, allocations: 11.92 kB / 0.6011 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5088, allocations: 4 kB / 0.6011 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5088, allocations: 0 / 0.6011 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.5095, allocations: 0.5915 MB / 0.6017 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5095, allocations: 4 kB / 0.6017 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.5097, allocations: 43.91 kB / 0.6018 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.5098, allocations: 4.344 kB / 0.6018 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.5098, allocations: 15.94 kB / 0.6018 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5098, allocations: 7.938 kB / 0.6018 GB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.5098, allocations: 7.984 kB / 0.6018 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.5101, allocations: 410.5 kB / 0.6022 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.5102, allocations: 112.6 kB / 0.6023 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.5103, allocations: 8 kB / 0.6023 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.5105, allocations: 31.97 kB / 0.6023 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.5106, allocations: 7.984 kB / 0.6023 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.5106, allocations: 4 kB / 0.6023 GB, free: 1.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.5108, allocations: 230.1 kB / 0.6026 GB, free: 1.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5108, allocations: 0 / 0.6026 GB, free: 1.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.5112, allocations: 71.84 kB / 0.6026 GB, free: 1.398 MB / 410.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.0001386/0.5113, allocations: 109.9 kB / 0.6027 GB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.5116, allocations: 139.7 kB / 0.6029 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5116, allocations: 0 / 0.6029 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.5117, allocations: 64.5 kB / 0.6029 GB, free: 1.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.512, allocations: 30.25 kB / 0.603 GB, free: 1.059 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.5127, allocations: 352.9 kB / 0.6033 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.5131, allocations: 0.7798 MB / 0.6041 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.5132, allocations: 18.06 kB / 0.6041 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.5132, allocations: 19.44 kB / 0.6041 GB, free: 15.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5132, allocations: 4 kB / 0.6041 GB, free: 15.83 MB / 426.7 MB Notification: Performance of Templates: time 0.004431/0.5177, allocations: 1.69 MB / 0.6057 GB, free: 14.15 MB / 426.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches