Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.001194/0.001194, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001865/0.00306, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009416/0.0009416, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001947, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9709/0.9709, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1956/1.166, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.624e-05, allocations: 6.109 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.0145/0.01452, allocations: 9.427 MB / 231.3 MB, free: 6.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.02541, allocations: 3.466 MB / 234.7 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.02711, allocations: 71.62 kB / 234.8 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004742/0.03185, allocations: 4.083 MB / 238.9 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.03571, allocations: 1.422 MB / 240.3 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.0375, allocations: 1.117 MB / 241.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007727/0.04522, allocations: 9.563 MB / 251 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01513/0.06036, allocations: 12.81 MB / 263.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/0.07339, allocations: 7.792 MB / 271.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009724/0.08311, allocations: 6.333 MB / 277.9 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003877/0.08699, allocations: 1.398 MB / 279.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005451/0.09244, allocations: 1.644 MB / 281 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003963/0.0964, allocations: 2.354 MB / 283.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1568/0.2532, allocations: 3.045 MB / 286.4 MB, free: 25.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02276/0.2759, allocations: 9.119 MB / 295.5 MB, free: 24.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.131e-05/0.276, allocations: 0 / 295.5 MB, free: 24.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.276, allocations: 0.75 kB / 295.5 MB, free: 24.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0007389/0.2767, allocations: 0 / 295.5 MB, free: 24.91 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03411/0.3108, allocations: 13.02 MB / 308.5 MB, free: 21.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3109, allocations: 10.56 kB / 308.5 MB, free: 21.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02877/0.3396, allocations: 8.018 MB / 316.5 MB, free: 21.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.3507, allocations: 2.574 MB / 319.1 MB, free: 19.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009692/0.3516, allocations: 0.6633 MB / 319.8 MB, free: 19.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006328/0.358, allocations: 0.8714 MB / 320.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0406/0.3985, allocations: 8.001 MB / 328.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005835/0.3991, allocations: 7.953 kB / 328.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006623/0.4058, allocations: 365.1 kB / 329 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007227/0.4065, allocations: 0.5591 MB / 329.6 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.4338, allocations: 4.429 MB / 334 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05984/0.4936, allocations: 27.92 MB / 361.9 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007033/0.5006, allocations: 4.535 MB / 366.5 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.5024, allocations: 0.9708 MB / 367.4 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/0.5032, allocations: 123.9 kB / 367.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.785e-05/0.5033, allocations: 94.3 kB / 367.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=468): time 8.245e-06/0.5033, allocations: 0 / 367.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=468): time 0.008557/0.5118, allocations: 4.491 MB / 372.1 MB, free: 296 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.5119, allocations: 125.1 kB / 372.3 MB, free: 152 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003989/0.5159, allocations: 2.43 MB / 374.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000901/0.5168, allocations: 101.7 kB / 374.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002409/0.5192, allocations: 3.79 MB / 378.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002044/0.5213, allocations: 1.663 MB / 380.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/0.523, allocations: 1.331 MB / 381.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5231, allocations: 305.1 kB / 381.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.525, allocations: 1.078 MB / 382.9 MB, free: 6.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.5279, allocations: 3.582 MB / 386.5 MB, free: 1.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007317/0.5352, allocations: 5.266 MB / 391.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/0.5353, allocations: 28 kB / 391.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01114/0.5464, allocations: 5.197 MB / 397 MB, free: 6.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.5465, allocations: 44.34 kB / 397.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/0.5468, allocations: 96 kB / 397.1 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004007/0.5508, allocations: 1.393 MB / 398.5 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006356/0.5571, allocations: 1.699 MB / 400.2 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.5689, allocations: 10.92 MB / 411.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005767/0.5747, allocations: 0.7949 MB / 412 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/0.5767, allocations: 291.9 kB / 412.2 MB, free: 7.422 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004306/0.581, allocations: 0.6033 MB / 412.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.582, allocations: 375.7 kB / 413.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007254/0.5893, allocations: 3.709 MB / 416.9 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.5893, allocations: 51.98 kB / 417 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.564e-05/0.5893, allocations: 12 kB / 417 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-05/0.5894, allocations: 27.91 kB / 417 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2034/0.7928, allocations: 8.573 MB / 425.6 MB, free: 94.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.7928, allocations: 3.344 kB / 425.6 MB, free: 94.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.795, allocations: 0.8167 MB / 426.4 MB, free: 94.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/0.797, allocations: 0.6131 MB / 427 MB, free: 94.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.7998, allocations: 1.271 MB / 428.3 MB, free: 94.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003669/0.8002, allocations: 94.52 kB / 428.4 MB, free: 94.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007153/0.8073, allocations: 10.69 MB / 439.1 MB, free: 86.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.8073, allocations: 7.219 kB / 439.1 MB, free: 86.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0062/0.8135, allocations: 4.283 MB / 443.4 MB, free: 85.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009636/0.8145, allocations: 84.28 kB / 443.4 MB, free: 85.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.8159, allocations: 128.4 kB / 443.6 MB, free: 85.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/0.8164, allocations: 329.5 kB / 443.9 MB, free: 85.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/0.8166, allocations: 93.41 kB / 444 MB, free: 85.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001658/0.8182, allocations: 1.038 MB / 445 MB, free: 85.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.8182, allocations: 0 / 445 MB, free: 85.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006364/0.8246, allocations: 2.404 MB / 447.4 MB, free: 85.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000616/0.8252, allocations: 248.4 kB / 447.7 MB, free: 85.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006342/0.8316, allocations: 4.324 MB / 452 MB, free: 84.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002823/0.8318, allocations: 119.2 kB / 452.1 MB, free: 84.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.8347, allocations: 2.369 MB / 454.5 MB, free: 83.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.8378, allocations: 1.087 MB / 455.6 MB, free: 83.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1147/0.9526, allocations: 13.95 MB / 469.5 MB, free: 70.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/0.9559, allocations: 1.846 MB / 471.4 MB, free: 69.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003048/0.9589, allocations: 0.7598 MB / 472.1 MB, free: 68.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/0.9605, allocations: 0.8465 MB / 473 MB, free: 68.17 MB / 362.7 MB Notification: Performance of SimCode: time 2.214e-06/0.9606, allocations: 0 / 473 MB, free: 68.17 MB / 362.7 MB Notification: Performance of Templates: time 0.08735/1.048, allocations: 68.8 MB / 0.5291 GB, free: 15.75 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.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: 5.055549398995936]