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.001386/0.001386, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001856/0.001856, allocations: 212.2 kB / 23.73 MB, free: 4.387 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.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2501/0.2501, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.00224/0.00224, allocations: 67.91 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.385, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00528/0.3903, allocations: 3.222 MB / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3921, allocations: 0.8023 MB / 0.565 GB, free: 96 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.3923, allocations: 11.94 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.3925, allocations: 75.28 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.3928, allocations: 138.9 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.3932, allocations: 127.8 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000589/0.3938, allocations: 0.5178 MB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.3942, allocations: 173 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.3944, allocations: 215.3 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.3947, allocations: 195 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.3948, allocations: 59.94 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.3948, allocations: 48 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.3949, allocations: 107.6 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.3952, allocations: 211.1 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000761/0.3959, allocations: 0.5599 MB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3959, allocations: 0 / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3959, allocations: 4 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3959, allocations: 0 / 0.5674 GB, free: 13.67 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.001607/0.3975, allocations: 0.6962 MB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3976, allocations: 8.031 kB / 0.5681 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3977, allocations: 52.61 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.3983, allocations: 263.7 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.3983, allocations: 41.36 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.3984, allocations: 48.38 kB / 0.5684 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.3993, allocations: 0.5028 MB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3993, allocations: 0 / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.3994, allocations: 27.94 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3994, allocations: 8 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.4001, allocations: 332.1 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.4025, allocations: 1.437 MB / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.4031, allocations: 225 kB / 0.5709 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.4034, allocations: 125.7 kB / 0.571 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.4035, allocations: 8 kB / 0.571 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.4035, allocations: 46.42 kB / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.4035, allocations: 0 / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002978/0.4065, allocations: 1.131 MB / 0.5722 GB, free: 8.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.4066, allocations: 85.05 kB / 0.5723 GB, free: 8.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.4069, allocations: 257.8 kB / 0.5725 GB, free: 8.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.4069, allocations: 33.69 kB / 0.5725 GB, free: 8.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4071, allocations: 264.1 kB / 0.5728 GB, free: 7.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.4072, allocations: 126.9 kB / 0.5729 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.4073, allocations: 78.12 kB / 0.573 GB, free: 7.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4075, allocations: 338.8 kB / 0.5733 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.4078, allocations: 108.8 kB / 0.5734 GB, free: 7.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.4081, allocations: 208.4 kB / 0.5736 GB, free: 6.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.4088, allocations: 345.8 kB / 0.5739 GB, free: 6.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4088, allocations: 0 / 0.5739 GB, free: 6.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008738/0.4097, allocations: 417.9 kB / 0.5743 GB, free: 6.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4097, allocations: 8.375 kB / 0.5743 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4097, allocations: 7.984 kB / 0.5743 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.4098, allocations: 28.84 kB / 0.5744 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.4103, allocations: 127.8 kB / 0.5745 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.4116, allocations: 1.311 MB / 0.5758 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.4118, allocations: 20.06 kB / 0.5758 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.4118, allocations: 19.98 kB / 0.5758 GB, free: 4.484 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.0002234/0.4121, allocations: 165.7 kB / 0.576 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.4121, allocations: 31.75 kB / 0.576 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.4122, allocations: 38.11 kB / 0.576 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4122, allocations: 4 kB / 0.576 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4122, allocations: 0 / 0.576 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4122, allocations: 0 / 0.576 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4133, allocations: 0.5888 MB / 0.5766 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.4133, allocations: 4 kB / 0.5766 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.4138, allocations: 91.88 kB / 0.5767 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.595e-05/0.4139, allocations: 28.97 kB / 0.5767 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.4139, allocations: 11.98 kB / 0.5768 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.415, allocations: 1.296 MB / 0.578 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.415, allocations: 3.938 kB / 0.578 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.416, allocations: 0.6008 MB / 0.5786 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.4161, allocations: 51.89 kB / 0.5787 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.4162, allocations: 11.98 kB / 0.5787 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.4164, allocations: 23.98 kB / 0.5787 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.4165, allocations: 27.89 kB / 0.5787 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.4165, allocations: 12 kB / 0.5787 GB, free: 1.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.4167, allocations: 177.2 kB / 0.5789 GB, free: 1.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4167, allocations: 3.938 kB / 0.5789 GB, free: 1.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004653/0.4172, allocations: 95.94 kB / 0.579 GB, free: 1.047 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.0001455/0.4173, allocations: 108.5 kB / 0.5791 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008781/0.4182, allocations: 394.3 kB / 0.5795 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4182, allocations: 0.75 kB / 0.5795 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.4186, allocations: 252.8 kB / 0.5797 GB, free: 284 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.4191, allocations: 36.48 kB / 0.5797 GB, free: 248 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.4209, allocations: 0.9131 MB / 0.5806 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.4212, allocations: 215.8 kB / 0.5808 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.4213, allocations: 34.95 kB / 0.5809 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.4214, allocations: 23.44 kB / 0.5809 GB, free: 15 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4214, allocations: 0 / 0.5809 GB, free: 15 MB / 430.1 MB Notification: Performance of Templates: time 0.008525/0.4299, allocations: 3.421 MB / 0.5842 GB, free: 11.62 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.607941387221217]