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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 206.4 kB / 23.73 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.94 MB / 360.8 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 179] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 83.81 kB / 0.4966 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3695, allocations: 66.08 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004921/0.3744, allocations: 2.515 MB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3761, allocations: 0.7437 MB / 0.5643 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.3763, allocations: 8 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.3765, allocations: 67.38 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.3768, allocations: 123 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.3771, allocations: 111.8 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.3776, allocations: 417.8 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.3779, allocations: 95.84 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3781, allocations: 155.4 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3783, allocations: 155.2 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.3784, allocations: 32 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.3784, allocations: 36 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.3785, allocations: 79.69 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3787, allocations: 143.3 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.3792, allocations: 432.7 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3792, allocations: 0 / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3792, allocations: 0 / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.3792, allocations: 3.938 kB / 0.5661 GB, free: 14.85 MB / 414.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.001117/0.3804, allocations: 0.6066 MB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3804, allocations: 12.03 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.3805, allocations: 40.7 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.381, allocations: 220.9 kB / 0.567 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.3811, allocations: 37.3 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.3811, allocations: 36.38 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.3819, allocations: 358.2 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3819, allocations: 0 / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.3819, allocations: 16 kB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.382, allocations: 8 kB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/0.3826, allocations: 271.1 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.3847, allocations: 1.16 MB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.3853, allocations: 194.6 kB / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.3855, allocations: 79.45 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.3855, allocations: 4 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.3856, allocations: 38.56 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.3856, allocations: 0 / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007893/0.3863, allocations: 249.5 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.3864, allocations: 132.5 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.3868, allocations: 292.5 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3868, allocations: 25.7 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.387, allocations: 259.9 kB / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.3871, allocations: 55.53 kB / 0.5701 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.3872, allocations: 57.94 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3873, allocations: 330.8 kB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.3876, allocations: 84.53 kB / 0.5705 GB, free: 10.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.3879, allocations: 172.1 kB / 0.5707 GB, free: 9.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.3884, allocations: 259.3 kB / 0.5709 GB, free: 9.562 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3884, allocations: 0 / 0.5709 GB, free: 9.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006649/0.3891, allocations: 305.3 kB / 0.5712 GB, free: 9.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3891, allocations: 8 kB / 0.5712 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3891, allocations: 4 kB / 0.5712 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3891, allocations: 4 kB / 0.5712 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.3895, allocations: 95.8 kB / 0.5713 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.3895, allocations: 7.938 kB / 0.5713 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.3898, allocations: 47.84 kB / 0.5714 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3898, allocations: 8 kB / 0.5714 GB, free: 9.086 MB / 414.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.0001774/0.39, allocations: 151 kB / 0.5715 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.382e-05/0.3901, allocations: 27.81 kB / 0.5716 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.3901, allocations: 33.52 kB / 0.5716 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3901, allocations: 4 kB / 0.5716 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3902, allocations: 3.938 kB / 0.5716 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3902, allocations: 7.984 kB / 0.5716 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.3909, allocations: 0.4975 MB / 0.5721 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3909, allocations: 0 / 0.5721 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.3912, allocations: 51.95 kB / 0.5721 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.3912, allocations: 8.266 kB / 0.5722 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3912, allocations: 4 kB / 0.5722 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.3912, allocations: 7.938 kB / 0.5722 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3912, allocations: 3.938 kB / 0.5722 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.3918, allocations: 390.9 kB / 0.5725 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.3919, allocations: 35.77 kB / 0.5726 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3919, allocations: 4 kB / 0.5726 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3921, allocations: 11.98 kB / 0.5726 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.3922, allocations: 23.91 kB / 0.5726 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3922, allocations: 4 kB / 0.5726 GB, free: 7.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.3924, allocations: 199.1 kB / 0.5728 GB, free: 7.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3924, allocations: 8 kB / 0.5728 GB, free: 7.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.3929, allocations: 79.78 kB / 0.5729 GB, free: 7.453 MB / 414.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.000131/0.393, allocations: 95.19 kB / 0.573 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005677/0.3936, allocations: 188.2 kB / 0.5732 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3936, allocations: 4.062 kB / 0.5732 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.3938, allocations: 75.89 kB / 0.5732 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.3942, allocations: 18.84 kB / 0.5733 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.3953, allocations: 0.5735 MB / 0.5738 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.3955, allocations: 172.5 kB / 0.574 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.836e-05/0.3955, allocations: 13.64 kB / 0.574 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.3956, allocations: 31.36 kB / 0.574 GB, free: 6.223 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3956, allocations: 0 / 0.574 GB, free: 6.223 MB / 414.1 MB Notification: Performance of Templates: time 0.00594/0.4016, allocations: 1.879 MB / 0.5759 GB, free: 4.352 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.406658925116062]