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.001839/0.001839, allocations: 84 kB / 20.68 MB, free: 1.027 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.002196/0.002196, allocations: 166.8 kB / 23.95 MB, free: 4.16 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.492/1.492, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.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.2152/0.2152, allocations: 34.29 MB / 295 MB, free: 14.55 MB / 286.1 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=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 2.375e-06/2.375e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.554e-05, allocations: 2.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00577/0.005806, allocations: 3.257 MB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.008078, allocations: 0.806 MB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.008333, allocations: 11.94 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.00858, allocations: 71.3 kB / 446.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.008918, allocations: 138.6 kB / 446.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.009366, allocations: 131.8 kB / 447.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006472/0.01001, allocations: 0.5333 MB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.01035, allocations: 174.3 kB / 447.8 MB, free: 264 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2246/0.2349, allocations: 314.1 kB / 448.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.2354, allocations: 167.7 kB / 448.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.2355, allocations: 49.09 kB / 448.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.2356, allocations: 48.69 kB / 448.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2357, allocations: 114.6 kB / 448.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.2359, allocations: 175.8 kB / 448.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.2367, allocations: 0.5664 MB / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2367, allocations: 1.062 kB / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2367, allocations: 0 / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2367, allocations: 1.594 kB / 449.2 MB, free: 15.57 MB / 366.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.001271/0.238, allocations: 0.691 MB / 449.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.238, allocations: 12.91 kB / 449.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.984e-05/0.2381, allocations: 58.52 kB / 450 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.2386, allocations: 254.8 kB / 450.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.2386, allocations: 37.12 kB / 450.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.2387, allocations: 43 kB / 450.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.2396, allocations: 0.5069 MB / 450.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.2396, allocations: 2.688 kB / 450.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.2396, allocations: 19.09 kB / 450.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.2396, allocations: 15.8 kB / 450.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.2404, allocations: 317.5 kB / 451.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.2426, allocations: 1.462 MB / 452.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.2432, allocations: 223.2 kB / 452.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.2436, allocations: 134.4 kB / 452.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2436, allocations: 2.656 kB / 453 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2436, allocations: 41.17 kB / 453 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.384e-06/0.2436, allocations: 0 / 453 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002947/0.2466, allocations: 1.116 MB / 454.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2466, allocations: 80.83 kB / 454.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.2469, allocations: 258.4 kB / 454.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2469, allocations: 31.39 kB / 454.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2471, allocations: 266.2 kB / 454.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.2471, allocations: 125.8 kB / 454.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.2473, allocations: 80.17 kB / 454.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.2473, allocations: 338.7 kB / 455.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.2476, allocations: 107 kB / 455.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.248, allocations: 215.5 kB / 455.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.2486, allocations: 341.4 kB / 455.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2486, allocations: 0 / 455.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008677/0.2494, allocations: 426 kB / 456.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2495, allocations: 7.062 kB / 456.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2495, allocations: 7 kB / 456.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.2496, allocations: 28.91 kB / 456.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.2501, allocations: 121.6 kB / 456.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008733/0.251, allocations: 1.314 MB / 457.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.2513, allocations: 24.05 kB / 457.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.2513, allocations: 13.16 kB / 457.8 MB, free: 10.34 MB / 366.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.0001843/0.2515, allocations: 170.5 kB / 458 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.2516, allocations: 29.53 kB / 458 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.567e-05/0.2516, allocations: 40.69 kB / 458.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2517, allocations: 8.141 kB / 458.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2517, allocations: 1.25 kB / 458.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2517, allocations: 2.109 kB / 458.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.2527, allocations: 0.5838 MB / 458.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2527, allocations: 0 / 458.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.2531, allocations: 91.16 kB / 458.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-05/0.2532, allocations: 29.17 kB / 458.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2532, allocations: 7.781 kB / 458.8 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007124/0.2539, allocations: 1.302 MB / 460.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2539, allocations: 5.125 kB / 460.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.255, allocations: 0.5876 MB / 460.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2551, allocations: 55.5 kB / 460.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.2551, allocations: 8.578 kB / 460.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.2554, allocations: 17.81 kB / 460.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.2555, allocations: 25.47 kB / 460.8 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.2555, allocations: 13.09 kB / 460.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.2557, allocations: 180.8 kB / 461 MB, free: 7.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2557, allocations: 1.344 kB / 461 MB, free: 7.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005166/0.2562, allocations: 91.56 kB / 461.1 MB, free: 7.953 MB / 366.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.0001323/0.2564, allocations: 103.2 kB / 461.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008919/0.2572, allocations: 398.8 kB / 461.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2573, allocations: 1.219 kB / 461.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.2577, allocations: 248.3 kB / 461.8 MB, free: 7.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.2582, allocations: 48.67 kB / 461.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.2597, allocations: 0.8228 MB / 462.7 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.2599, allocations: 207.2 kB / 462.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.26, allocations: 35.11 kB / 462.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.2601, allocations: 28.16 kB / 462.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2601, allocations: 4 kB / 462.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of Templates: time 0.009141/0.2692, allocations: 2.922 MB / 465.9 MB, free: 6.504 MB / 366.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.108583331108093]