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.001076/0.001076, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.00116/0.00116, allocations: 167.9 kB / 24.99 MB, free: 8.758 MB / 18.57 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.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2564/0.2564, allocations: 34.26 MB / 296 MB, free: 0.6758 MB / 266.7 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,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=4667,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 1.193e-06/1.193e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.771e-05, allocations: 5.828 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003658/0.003675, allocations: 3.515 MB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004789, allocations: 0.8176 MB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.004953, allocations: 8 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.00513, allocations: 75.23 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.005318, allocations: 146.7 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.005605, allocations: 123.8 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.005979, allocations: 0.5411 MB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.006216, allocations: 174.3 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.006454, allocations: 323.3 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.006625, allocations: 171.5 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.006679, allocations: 52 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.006723, allocations: 48 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.006787, allocations: 115.6 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.006904, allocations: 175.6 kB / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.007233, allocations: 362.7 kB / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.007235, allocations: 0 / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007236, allocations: 0 / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.007241, allocations: 4 kB / 384.6 MB, free: 12.33 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.001003/0.008244, allocations: 0.7843 MB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.008281, allocations: 8.031 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.994e-05/0.008381, allocations: 100.5 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.008673, allocations: 265.8 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.008707, allocations: 33.38 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.008759, allocations: 52.31 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.009232, allocations: 432.5 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.009245, allocations: 4.188 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.009275, allocations: 20.38 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.009289, allocations: 15.94 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.009553, allocations: 182.7 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.0111, allocations: 1.572 MB / 388.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.01137, allocations: 190 kB / 388.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.01151, allocations: 95.33 kB / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.01153, allocations: 4 kB / 388.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.01155, allocations: 45.33 kB / 388.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.01155, allocations: 0 / 388.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001429/0.01298, allocations: 0.9756 MB / 389.4 MB, free: 7.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.01302, allocations: 85.09 kB / 389.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.01321, allocations: 296.2 kB / 389.7 MB, free: 6.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.01323, allocations: 37.7 kB / 389.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.01335, allocations: 306.8 kB / 390.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.01341, allocations: 130.9 kB / 390.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.01348, allocations: 83.84 kB / 390.3 MB, free: 6.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.0136, allocations: 0.5079 MB / 390.8 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.01369, allocations: 52.97 kB / 390.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.01385, allocations: 208.5 kB / 391 MB, free: 5.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.01409, allocations: 294.2 kB / 391.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0141, allocations: 0 / 391.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005861/0.01468, allocations: 335.6 kB / 391.7 MB, free: 4.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.0147, allocations: 5.562 kB / 391.7 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.0147, allocations: 4 kB / 391.7 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.01483, allocations: 39.64 kB / 391.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.01507, allocations: 119.8 kB / 391.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007462/0.01582, allocations: 1.771 MB / 393.6 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.01592, allocations: 16 kB / 393.6 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.01594, allocations: 16 kB / 393.6 MB, free: 2.676 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.0001072/0.01604, allocations: 188.3 kB / 393.8 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.0161, allocations: 39.81 kB / 393.8 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.01614, allocations: 46.05 kB / 393.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01614, allocations: 4 kB / 393.9 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01614, allocations: 4.031 kB / 393.9 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01615, allocations: 3.984 kB / 393.9 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.01669, allocations: 0.5822 MB / 394.5 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.01669, allocations: 3.984 kB / 394.5 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.0169, allocations: 87.89 kB / 394.6 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-05/0.01697, allocations: 31.86 kB / 394.6 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.01699, allocations: 15.98 kB / 394.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006346/0.01762, allocations: 1.76 MB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01763, allocations: 7.938 kB / 396.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.01804, allocations: 0.567 MB / 397 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.0181, allocations: 47.72 kB / 397 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01812, allocations: 12.03 kB / 397 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.01824, allocations: 15.98 kB / 397 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.01829, allocations: 23.95 kB / 397.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.0183, allocations: 12 kB / 397.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.01841, allocations: 205.1 kB / 397.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01841, allocations: 0 / 397.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01867, allocations: 92 kB / 397.4 MB, free: 14.72 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 9.084e-05/0.01876, allocations: 115.3 kB / 397.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.01916, allocations: 381.3 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01916, allocations: 0 / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.01933, allocations: 277.4 kB / 398.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.01963, allocations: 49.41 kB / 398.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.02088, allocations: 0.8082 MB / 399 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.676e-05/0.02095, allocations: 109.3 kB / 399.1 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.837e-05/0.02103, allocations: 34.95 kB / 399.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.02109, allocations: 32.5 kB / 399.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02109, allocations: 0 / 399.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of Templates: time 0.005178/0.02627, allocations: 2.973 MB / 402.1 MB, free: 9.887 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2238861960358918]