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.001777/0.001777, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002345/0.002345, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.59/1.59, allocations: 230.3 MB / 258 MB, free: 8.246 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.2519/0.2519, allocations: 46.88 MB / 361.3 MB, free: 4.441 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.00231/0.00231, allocations: 72.06 kB / 0.497 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4009, allocations: 66.04 MB / 0.5615 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004989/0.4059, allocations: 2.719 MB / 0.5642 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.4076, allocations: 0.7944 MB / 0.565 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.4078, allocations: 8 kB / 0.565 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.4081, allocations: 75.31 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.4084, allocations: 107.2 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.4087, allocations: 107.8 kB / 0.5652 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.4092, allocations: 426.3 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.4094, allocations: 111.7 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.4096, allocations: 143.5 kB / 0.5659 GB, free: 116 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.4099, allocations: 171.3 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.4099, allocations: 32 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.41, allocations: 32 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.4101, allocations: 79.7 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.4103, allocations: 187 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005085/0.4108, allocations: 424.8 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4108, allocations: 0 / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4108, allocations: 8 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.4108, allocations: 0 / 0.5668 GB, free: 15.2 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.001143/0.412, allocations: 0.6066 MB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.412, allocations: 8.031 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.4121, allocations: 44.7 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.4126, allocations: 224.9 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.4126, allocations: 25.38 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.4127, allocations: 28.38 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.4134, allocations: 370.2 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4135, allocations: 7.938 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4135, allocations: 8 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.4135, allocations: 8 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.4142, allocations: 270.5 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.4168, allocations: 1.296 MB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.4175, allocations: 190.6 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.4177, allocations: 83.45 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.4178, allocations: 0 / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.4178, allocations: 38.56 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.4178, allocations: 0 / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.00102/0.4188, allocations: 261.6 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.419, allocations: 132.5 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.4195, allocations: 341.7 kB / 0.5706 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.4195, allocations: 25.7 kB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.4198, allocations: 240.2 kB / 0.5708 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/0.4199, allocations: 63.69 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.42, allocations: 57.94 kB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.4203, allocations: 342.8 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.4205, allocations: 80.5 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.4209, allocations: 168.2 kB / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.4214, allocations: 263 kB / 0.5718 GB, free: 9.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4214, allocations: 0 / 0.5718 GB, free: 9.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007307/0.4222, allocations: 305.1 kB / 0.5721 GB, free: 9.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4222, allocations: 12.25 kB / 0.5721 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4222, allocations: 0 / 0.5721 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.4222, allocations: 8 kB / 0.5721 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.4227, allocations: 87.86 kB / 0.5722 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.4227, allocations: 7.938 kB / 0.5722 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.423, allocations: 51.64 kB / 0.5722 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.423, allocations: 16 kB / 0.5722 GB, free: 9.23 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.0001936/0.4232, allocations: 151 kB / 0.5724 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.4234, allocations: 35.75 kB / 0.5724 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.975e-05/0.4235, allocations: 30.5 kB / 0.5724 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4235, allocations: 4 kB / 0.5725 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4235, allocations: 0 / 0.5725 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4235, allocations: 7.984 kB / 0.5725 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.4244, allocations: 0.5632 MB / 0.573 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4244, allocations: 4 kB / 0.573 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.4247, allocations: 55.94 kB / 0.5731 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.4247, allocations: 4 kB / 0.5731 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4247, allocations: 7.938 kB / 0.5731 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4247, allocations: 4.094 kB / 0.5731 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4247, allocations: 8 kB / 0.5731 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.4253, allocations: 400.6 kB / 0.5735 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.4254, allocations: 31.88 kB / 0.5735 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.4254, allocations: 11.94 kB / 0.5735 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.4257, allocations: 19.97 kB / 0.5735 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.4258, allocations: 11.98 kB / 0.5735 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4258, allocations: 8 kB / 0.5736 GB, free: 7.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002906/0.4261, allocations: 239.2 kB / 0.5738 GB, free: 7.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4261, allocations: 0 / 0.5738 GB, free: 7.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004342/0.4265, allocations: 71.89 kB / 0.5738 GB, free: 7.477 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.0001649/0.4267, allocations: 107.1 kB / 0.574 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005859/0.4273, allocations: 179.7 kB / 0.5741 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4273, allocations: 0 / 0.5741 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.4275, allocations: 79.88 kB / 0.5742 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.4279, allocations: 26.19 kB / 0.5742 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.429, allocations: 0.5655 MB / 0.5748 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.4295, allocations: 0.7831 MB / 0.5755 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.4296, allocations: 22.2 kB / 0.5756 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.4297, allocations: 23.44 kB / 0.5756 GB, free: 5.617 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4297, allocations: 0 / 0.5756 GB, free: 5.617 MB / 414.1 MB Notification: Performance of Templates: time 0.006376/0.436, allocations: 2.016 MB / 0.5776 GB, free: 3.605 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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.535869933664799]