Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001444/0.001444, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001554/0.001554, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.9773/0.9773, allocations: 177 MB / 204.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 4 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.264e-05, allocations: 5.266 kB / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004334/0.004367, allocations: 2.88 MB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.00587, allocations: 1.172 MB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.006005, allocations: 15.94 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00097/0.006975, allocations: 0.6494 MB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.007262, allocations: 150.8 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.008055, allocations: 0.6225 MB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.008414, allocations: 318.4 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.008776, allocations: 231.2 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.009038, allocations: 195.5 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.009218, allocations: 127.7 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.009253, allocations: 28 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.009555, allocations: 183.6 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.00959, allocations: 55.77 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.009669, allocations: 99.75 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.01009, allocations: 378.8 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01009, allocations: 0 / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01009, allocations: 4 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.0101, allocations: 7.938 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001048/0.01115, allocations: 0.7689 MB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.01119, allocations: 8.031 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/0.01171, allocations: 172.5 kB / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.01198, allocations: 200.9 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.01201, allocations: 29.03 kB / 281.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.01206, allocations: 28.38 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.01239, allocations: 267.3 kB / 281.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.01241, allocations: 12.12 kB / 281.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.01243, allocations: 11.94 kB / 281.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01244, allocations: 8 kB / 281.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.01264, allocations: 139.8 kB / 281.6 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.01393, allocations: 1.124 MB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.01428, allocations: 223 kB / 283 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.817e-05/0.01437, allocations: 67.66 kB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.01447, allocations: 19.98 kB / 283.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.0145, allocations: 37.39 kB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.235e-06/0.0145, allocations: 0 / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007129/0.01521, allocations: 366.5 kB / 283.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.01524, allocations: 55.41 kB / 283.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.01537, allocations: 214.7 kB / 283.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01539, allocations: 25.7 kB / 283.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.01548, allocations: 231 kB / 284 MB, free: 6.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.01552, allocations: 83.28 kB / 284 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.0156, allocations: 67.58 kB / 284.1 MB, free: 5.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01572, allocations: 0.4962 MB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.01578, allocations: 44.53 kB / 284.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01589, allocations: 131.3 kB / 284.8 MB, free: 5.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.01607, allocations: 182.6 kB / 285 MB, free: 5.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.01607, allocations: 0 / 285 MB, free: 5.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003509/0.01642, allocations: 279.2 kB / 285.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01644, allocations: 8 kB / 285.2 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.01645, allocations: 3.938 kB / 285.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.01672, allocations: 83.78 kB / 285.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.01682, allocations: 43.97 kB / 285.4 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.01823, allocations: 2.333 MB / 287.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.01831, allocations: 27.78 kB / 287.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.01832, allocations: 12 kB / 287.7 MB, free: 2.109 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.01843, allocations: 172.5 kB / 287.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.01846, allocations: 19.91 kB / 287.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.01879, allocations: 228.1 kB / 288.1 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.0188, allocations: 4 kB / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.0188, allocations: 0 / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.0188, allocations: 3.938 kB / 288.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.01937, allocations: 0.5985 MB / 288.8 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.01937, allocations: 0 / 288.8 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.01944, allocations: 31.92 kB / 288.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.01961, allocations: 75.78 kB / 288.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.01962, allocations: 8 kB / 288.9 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.02083, allocations: 2.317 MB / 291.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.02083, allocations: 3.938 kB / 291.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.0212, allocations: 419.6 kB / 291.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.02124, allocations: 35.86 kB / 291.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.02125, allocations: 4 kB / 291.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.02131, allocations: 11.92 kB / 291.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.02134, allocations: 19.91 kB / 291.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.02135, allocations: 8 kB / 291.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.02142, allocations: 151.6 kB / 291.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02142, allocations: 0 / 291.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.02175, allocations: 99.78 kB / 291.9 MB, free: 13.7 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.02196, allocations: 135.1 kB / 292.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.02238, allocations: 360.1 kB / 292.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02239, allocations: 64 / 292.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.02258, allocations: 301 kB / 292.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.0228, allocations: 23.97 kB / 292.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.02372, allocations: 0.5119 MB / 293.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.02377, allocations: 88.31 kB / 293.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.598e-05/0.02383, allocations: 21.95 kB / 293.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.02386, allocations: 16.5 kB / 293.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02386, allocations: 4 kB / 293.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of Templates: time 0.005014/0.02887, allocations: 2.726 MB / 296.1 MB, free: 9.465 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.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.023604176007211]