Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001559/0.001559, allocations: 117.4 kB / 19.18 MB, free: 3.871 MB / 14.72 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.001651/0.001651, allocations: 206.5 kB / 22.13 MB, free: 0.9258 MB / 14.72 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 1.461/1.461, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1008, allocations: 53.33 MB / 427.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005337/0.1062, allocations: 3.312 MB / 431.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1777/0.2838, allocations: 1.406 MB / 432.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.2842, allocations: 9.125 kB / 432.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.2846, allocations: 145.9 kB / 432.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008949/0.2855, allocations: 435.6 kB / 433.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.2859, allocations: 179.2 kB / 433.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.2864, allocations: 464.1 kB / 433.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2866, allocations: 113.4 kB / 433.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.2867, allocations: 179.3 kB / 434 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.287, allocations: 198 kB / 434.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.287, allocations: 35.97 kB / 434.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.2873, allocations: 174.5 kB / 434.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.2873, allocations: 77.12 kB / 434.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2875, allocations: 197.9 kB / 434.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.288, allocations: 0.5487 MB / 435.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.288, allocations: 0 / 435.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.288, allocations: 1.156 kB / 435.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.288, allocations: 1.312 kB / 435.3 MB, free: 7.801 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001184/0.2892, allocations: 0.7581 MB / 436 MB, free: 7.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2892, allocations: 9.531 kB / 436 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/0.2899, allocations: 120.9 kB / 436.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.2903, allocations: 316.1 kB / 436.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2903, allocations: 27.66 kB / 436.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.2904, allocations: 31.69 kB / 436.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.2909, allocations: 357.3 kB / 436.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2909, allocations: 5.562 kB / 436.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.291, allocations: 13.56 kB / 436.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.291, allocations: 7.938 kB / 436.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.2914, allocations: 251.1 kB / 437.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2931, allocations: 1.321 MB / 438.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.2935, allocations: 186.2 kB / 438.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2936, allocations: 76.97 kB / 438.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/0.2943, allocations: 1.206 MB / 439.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.2943, allocations: 40.69 kB / 440 MB, free: 4.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2943, allocations: 0 / 440 MB, free: 4.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004857/0.2948, allocations: 216.8 kB / 440.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.2948, allocations: 84.73 kB / 440.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.2951, allocations: 297.2 kB / 440.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2951, allocations: 27.05 kB / 440.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/0.2952, allocations: 240.9 kB / 440.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.2952, allocations: 72.88 kB / 440.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.2953, allocations: 61.06 kB / 440.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.2953, allocations: 337.2 kB / 441.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2955, allocations: 67.84 kB / 441.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.2956, allocations: 198 kB / 441.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.2959, allocations: 289.9 kB / 441.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.296, allocations: 1.156 kB / 441.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004617/0.2964, allocations: 325.8 kB / 442.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2964, allocations: 7.312 kB / 442.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.2964, allocations: 6.344 kB / 442.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2965, allocations: 6.484 kB / 442.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.2967, allocations: 88.56 kB / 442.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.2967, allocations: 13.05 kB / 442.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.2969, allocations: 33.16 kB / 442.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2969, allocations: 18.73 kB / 442.3 MB, free: 3.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.297, allocations: 155.1 kB / 442.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.2971, allocations: 32.72 kB / 442.5 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.2972, allocations: 33.41 kB / 442.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2972, allocations: 2.219 kB / 442.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.2972, allocations: 10.73 kB / 442.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2972, allocations: 0.5156 kB / 442.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.2977, allocations: 0.5071 MB / 443 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2977, allocations: 0 / 443 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2979, allocations: 42.55 kB / 443.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2979, allocations: 6.156 kB / 443.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.298, allocations: 6 kB / 443.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.298, allocations: 6.656 kB / 443.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.298, allocations: 1.281 kB / 443.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.2984, allocations: 422.4 kB / 443.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.2984, allocations: 112.1 kB / 443.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.2985, allocations: 7.422 kB / 443.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2987, allocations: 15.97 kB / 443.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.2987, allocations: 9.547 kB / 443.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2987, allocations: 9.5 kB / 443.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.2989, allocations: 197.2 kB / 443.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2989, allocations: 3.938 kB / 443.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004139/0.2993, allocations: 81.02 kB / 443.9 MB, free: 2.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.2994, allocations: 121.5 kB / 444.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.2998, allocations: 177.8 kB / 444.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2998, allocations: 0 / 444.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.2999, allocations: 75.55 kB / 444.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3003, allocations: 34.66 kB / 444.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3013, allocations: 0.6902 MB / 445 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.3015, allocations: 0.7738 MB / 445.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.3016, allocations: 31.38 kB / 445.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3016, allocations: 0 / 445.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Templates: time 0.005879/0.3074, allocations: 3.526 MB / 449.4 MB, free: 324 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 7.009389314916916]