Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.0008987/0.0008987, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 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.0009648/0.0009648, allocations: 163.7 kB / 24.82 MB, free: 9.277 MB / 18.57 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 0.926/0.926, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2394/0.2394, allocations: 34.86 MB / 296.6 MB, free: 440 kB / 266.7 MB " [Timeout remaining time 180] 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.189e-05, allocations: 7.094 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003413/0.003435, allocations: 3.484 MB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.00439, allocations: 0.806 MB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.004537, allocations: 15.94 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.00469, allocations: 79.23 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.004863, allocations: 126.8 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.005119, allocations: 139.6 kB / 383.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.005468, allocations: 0.5372 MB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.005681, allocations: 170.3 kB / 384.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.00592, allocations: 319.4 kB / 384.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.006081, allocations: 179.4 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.261e-05/0.006134, allocations: 48 kB / 385.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.006182, allocations: 48 kB / 385.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.006241, allocations: 115.6 kB / 385.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.006346, allocations: 171.6 kB / 385.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.006633, allocations: 362.6 kB / 385.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.006635, allocations: 4 kB / 385.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006636, allocations: 0 / 385.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00664, allocations: 4 kB / 385.8 MB, free: 11.21 MB / 362.7 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.0006842/0.007324, allocations: 0.7921 MB / 386.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.007356, allocations: 12.03 kB / 386.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.007433, allocations: 92.61 kB / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.007648, allocations: 256.8 kB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.007675, allocations: 33.38 kB / 387 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.007718, allocations: 48.38 kB / 387 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.008066, allocations: 408.3 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.008079, allocations: 192 / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.008103, allocations: 20.38 kB / 387.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.008112, allocations: 15.94 kB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.008267, allocations: 147.9 kB / 387.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.009633, allocations: 1.591 MB / 389.2 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.009826, allocations: 174 kB / 389.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.009915, allocations: 79.33 kB / 389.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.00993, allocations: 4.25 kB / 389.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.009952, allocations: 45.38 kB / 389.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.132e-06/0.009953, allocations: 0 / 389.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.00115/0.0111, allocations: 0.8428 MB / 390.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.01113, allocations: 81.11 kB / 390.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.01128, allocations: 300.1 kB / 390.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.0113, allocations: 33.7 kB / 390.7 MB, free: 5.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01141, allocations: 306.8 kB / 391 MB, free: 5.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.01147, allocations: 126.9 kB / 391.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.01154, allocations: 91.78 kB / 391.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01166, allocations: 0.5117 MB / 391.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.01171, allocations: 40.97 kB / 391.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.01183, allocations: 188.5 kB / 392 MB, free: 4.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.01203, allocations: 271.2 kB / 392.2 MB, free: 4.254 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01203, allocations: 3.938 kB / 392.2 MB, free: 4.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000292/0.01232, allocations: 313.1 kB / 392.5 MB, free: 3.938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01233, allocations: 4 kB / 392.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01234, allocations: 4 kB / 392.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.395e-05/0.01243, allocations: 31.67 kB / 392.6 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.01265, allocations: 123.8 kB / 392.7 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007295/0.01338, allocations: 1.749 MB / 394.5 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.01351, allocations: 16 kB / 394.5 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.01352, allocations: 8 kB / 394.5 MB, free: 1.883 MB / 362.7 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.000104/0.01363, allocations: 188.4 kB / 394.7 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.01368, allocations: 47.75 kB / 394.7 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.01371, allocations: 38.11 kB / 394.7 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01372, allocations: 11.97 kB / 394.8 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01372, allocations: 0 / 394.8 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01372, allocations: 0 / 394.8 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.01421, allocations: 0.5268 MB / 395.3 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01421, allocations: 0 / 395.3 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.0144, allocations: 83.89 kB / 395.4 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.22e-05/0.01446, allocations: 39.7 kB / 395.4 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01447, allocations: 8 kB / 395.4 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006216/0.0151, allocations: 1.734 MB / 397.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.0151, allocations: 3.984 kB / 397.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.01545, allocations: 0.5473 MB / 397.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.01551, allocations: 43.78 kB / 397.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.01553, allocations: 20.03 kB / 397.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.01564, allocations: 15.94 kB / 397.8 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.01568, allocations: 31.88 kB / 397.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01569, allocations: 8 kB / 397.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.555e-05/0.01578, allocations: 197.1 kB / 398 MB, free: 14.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01578, allocations: 0 / 398 MB, free: 14.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.01604, allocations: 92 kB / 398.1 MB, free: 14.06 MB / 378.7 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 7.709e-05/0.01612, allocations: 111.1 kB / 398.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.01641, allocations: 350.2 kB / 398.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01641, allocations: 0 / 398.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.01656, allocations: 269.3 kB / 398.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.01683, allocations: 45.3 kB / 398.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.01778, allocations: 0.8014 MB / 399.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.23e-05/0.01786, allocations: 109.3 kB / 399.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.523e-05/0.01795, allocations: 30.97 kB / 399.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.01807, allocations: 126.2 kB / 399.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01807, allocations: 0 / 399.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of Templates: time 0.005703/0.02378, allocations: 3.201 MB / 403.1 MB, free: 8.969 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8379012597724795]