Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001656/0.001656, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001967/0.001967, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2436/0.2436, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.91 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.395, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006589/0.4016, allocations: 3.24 MB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.4039, allocations: 0.7984 MB / 0.565 GB, free: 112 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.4043, allocations: 8 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.4046, allocations: 75.23 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005991/0.4052, allocations: 130.8 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.4058, allocations: 131.8 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009591/0.4067, allocations: 0.5219 MB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.4072, allocations: 186 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/0.4076, allocations: 211.3 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.408, allocations: 239 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.4081, allocations: 52 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.693e-05/0.4082, allocations: 48 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.4083, allocations: 103.7 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.4085, allocations: 215 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.4092, allocations: 0.5551 MB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4092, allocations: 0 / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4092, allocations: 4 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4093, allocations: 0 / 0.5674 GB, free: 13.65 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001599/0.4109, allocations: 0.7039 MB / 0.5681 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.4109, allocations: 8.031 kB / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.411, allocations: 52.61 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.4117, allocations: 259.7 kB / 0.5684 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.4118, allocations: 37.38 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.423e-05/0.4119, allocations: 48.38 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4129, allocations: 0.4989 MB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4129, allocations: 3.938 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.413, allocations: 24 kB / 0.569 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.413, allocations: 12 kB / 0.569 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007817/0.4138, allocations: 324.2 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.4165, allocations: 1.444 MB / 0.5707 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.4172, allocations: 240.9 kB / 0.571 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.4176, allocations: 125.7 kB / 0.5711 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.4176, allocations: 4 kB / 0.5711 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4176, allocations: 30.56 kB / 0.5711 GB, free: 9.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/0.4176, allocations: 4 kB / 0.5711 GB, free: 9.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003381/0.421, allocations: 1.138 MB / 0.5722 GB, free: 8.441 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.4211, allocations: 81.11 kB / 0.5723 GB, free: 8.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.4214, allocations: 265.8 kB / 0.5726 GB, free: 8.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.4215, allocations: 29.7 kB / 0.5726 GB, free: 8.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.4217, allocations: 264.1 kB / 0.5728 GB, free: 7.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.4218, allocations: 126.9 kB / 0.573 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.4219, allocations: 74.12 kB / 0.573 GB, free: 7.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4221, allocations: 338.8 kB / 0.5733 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.4224, allocations: 112.8 kB / 0.5735 GB, free: 7.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.4228, allocations: 212.3 kB / 0.5737 GB, free: 6.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.4235, allocations: 342.7 kB / 0.574 GB, free: 6.504 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4235, allocations: 4 kB / 0.574 GB, free: 6.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009054/0.4244, allocations: 416.6 kB / 0.5744 GB, free: 6.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4244, allocations: 7.984 kB / 0.5744 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4244, allocations: 4 kB / 0.5744 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.4246, allocations: 32.84 kB / 0.5744 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.4251, allocations: 119.8 kB / 0.5745 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.4264, allocations: 1.316 MB / 0.5758 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.4267, allocations: 20.12 kB / 0.5758 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.4267, allocations: 16 kB / 0.5759 GB, free: 4.457 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.4269, allocations: 167.6 kB / 0.576 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.427, allocations: 31.75 kB / 0.5761 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.62e-05/0.4271, allocations: 42.17 kB / 0.5761 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4271, allocations: 4 kB / 0.5761 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4271, allocations: 0 / 0.5761 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4271, allocations: 7.922 kB / 0.5761 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.4282, allocations: 0.5785 MB / 0.5767 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4282, allocations: 0 / 0.5767 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.4287, allocations: 99.94 kB / 0.5768 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.17e-05/0.4288, allocations: 24.84 kB / 0.5768 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.4288, allocations: 8 kB / 0.5768 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.43, allocations: 1.304 MB / 0.5781 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.43, allocations: 0 / 0.5781 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.4311, allocations: 0.6124 MB / 0.5787 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4312, allocations: 48.06 kB / 0.5787 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.4313, allocations: 8 kB / 0.5787 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.4316, allocations: 19.98 kB / 0.5787 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.4316, allocations: 27.94 kB / 0.5788 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.4317, allocations: 12 kB / 0.5788 GB, free: 1.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.4319, allocations: 185.2 kB / 0.579 GB, free: 1.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4319, allocations: 0 / 0.579 GB, free: 1.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.4324, allocations: 95.94 kB / 0.579 GB, free: 1.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/0.4325, allocations: 99.19 kB / 0.5791 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009423/0.4334, allocations: 402.6 kB / 0.5795 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4334, allocations: 0 / 0.5795 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.4339, allocations: 249 kB / 0.5798 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.4344, allocations: 40.47 kB / 0.5798 GB, free: 212 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4362, allocations: 0.9133 MB / 0.5807 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.4365, allocations: 207.8 kB / 0.5809 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.4366, allocations: 38.95 kB / 0.5809 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.4367, allocations: 23.44 kB / 0.5809 GB, free: 14.97 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4367, allocations: 0 / 0.5809 GB, free: 14.97 MB / 430.1 MB Notification: Performance of Templates: time 0.008653/0.4453, allocations: 3.532 MB / 0.5844 GB, free: 11.48 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.524590620305389]