Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2363/0.2363, allocations: 46.97 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3823, allocations: 66.03 MB / 0.5618 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004302/0.3866, allocations: 2.52 MB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3882, allocations: 0.7398 MB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3884, allocations: 8 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.3886, allocations: 75.33 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.3889, allocations: 107.2 kB / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.3892, allocations: 123.7 kB / 0.5653 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.3896, allocations: 426.2 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.3899, allocations: 107.8 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3901, allocations: 147.6 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3903, allocations: 171.2 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.3903, allocations: 36 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.3904, allocations: 32 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.3905, allocations: 75.7 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3907, allocations: 151.2 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.3912, allocations: 432.6 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3912, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3912, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3912, allocations: 0 / 0.5668 GB, free: 14.98 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.001131/0.3924, allocations: 0.6066 MB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3924, allocations: 12.03 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.3925, allocations: 40.7 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.3929, allocations: 228.9 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3929, allocations: 25.38 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.393, allocations: 36.31 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006925/0.3936, allocations: 358.2 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3937, allocations: 4 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.3937, allocations: 12 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.3937, allocations: 8 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.3943, allocations: 270.8 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.3963, allocations: 1.168 MB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.3968, allocations: 194.6 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.3971, allocations: 75.45 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.3971, allocations: 4 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3971, allocations: 38.56 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.3972, allocations: 0 / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008034/0.398, allocations: 250 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.398, allocations: 140.5 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.3984, allocations: 288.5 kB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3984, allocations: 25.7 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3986, allocations: 259.9 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.3986, allocations: 55.53 kB / 0.5707 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3987, allocations: 57.94 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3989, allocations: 330.8 kB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.3991, allocations: 92.41 kB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.3994, allocations: 168.2 kB / 0.5714 GB, free: 9.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.3999, allocations: 246.8 kB / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.3999, allocations: 0 / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006328/0.4006, allocations: 305.2 kB / 0.5719 GB, free: 9.395 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4006, allocations: 8 kB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4006, allocations: 4 kB / 0.5719 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4006, allocations: 4 kB / 0.5719 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.401, allocations: 91.86 kB / 0.572 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.401, allocations: 8.125 kB / 0.572 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4013, allocations: 47.75 kB / 0.572 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.4013, allocations: 12 kB / 0.5721 GB, free: 9.223 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.0001492/0.4015, allocations: 145.7 kB / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.894e-05/0.4016, allocations: 35.81 kB / 0.5722 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.4017, allocations: 29.52 kB / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4017, allocations: 0 / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4017, allocations: 0 / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4017, allocations: 4 kB / 0.5723 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.4024, allocations: 0.4975 MB / 0.5727 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4024, allocations: 7.984 kB / 0.5728 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.4027, allocations: 55.89 kB / 0.5728 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4027, allocations: 4 kB / 0.5728 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.4027, allocations: 0 / 0.5728 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4027, allocations: 7.984 kB / 0.5728 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4027, allocations: 8.062 kB / 0.5728 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.4033, allocations: 398.3 kB / 0.5732 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.4033, allocations: 31.78 kB / 0.5732 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.4034, allocations: 3.984 kB / 0.5732 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.4036, allocations: 23.92 kB / 0.5733 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.4037, allocations: 15.91 kB / 0.5733 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4037, allocations: 8 kB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.4039, allocations: 203.1 kB / 0.5735 GB, free: 7.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4039, allocations: 0 / 0.5735 GB, free: 7.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003861/0.4042, allocations: 79.78 kB / 0.5736 GB, free: 7.59 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 9.538e-05/0.4043, allocations: 99.12 kB / 0.5737 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.4048, allocations: 188.1 kB / 0.5738 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4049, allocations: 4 kB / 0.5738 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.4051, allocations: 75.83 kB / 0.5739 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.4055, allocations: 23.47 kB / 0.5739 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.4064, allocations: 0.5697 MB / 0.5745 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.4066, allocations: 168.5 kB / 0.5746 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.421e-05/0.4066, allocations: 17.64 kB / 0.5747 GB, free: 6.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.4067, allocations: 23.44 kB / 0.5747 GB, free: 6.367 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4067, allocations: 0 / 0.5747 GB, free: 6.367 MB / 414.1 MB Notification: Performance of Templates: time 0.005482/0.4122, allocations: 1.952 MB / 0.5766 GB, free: 4.422 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.174414995010011]