Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 43.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2469, allocations: 52.19 MB / 423.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01206/0.2589, allocations: 10.07 MB / 433.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00795/0.2669, allocations: 3.369 MB / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.2685, allocations: 83.62 kB / 436.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009655/0.2781, allocations: 3.886 MB / 440.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.2833, allocations: 1.579 MB / 442.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.2859, allocations: 1.067 MB / 443.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.2976, allocations: 9.224 MB / 452.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01991/0.3175, allocations: 12.21 MB / 464.6 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008006/0.3255, allocations: 5.179 MB / 469.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.336, allocations: 6.142 MB / 475.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003901/0.3399, allocations: 1.398 MB / 477.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005321/0.3452, allocations: 1.633 MB / 479 MB, free: 6.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004689/0.3499, allocations: 2.934 MB / 481.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01024/0.3601, allocations: 5.448 MB / 487.3 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02263/0.3827, allocations: 18.88 MB / 0.4944 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3827, allocations: 0 / 0.4944 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3827, allocations: 4 kB / 0.4944 GB, free: 11.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004732/0.3832, allocations: 3.938 kB / 0.4944 GB, free: 11.26 MB / 414.1 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.03738/0.4206, allocations: 12.38 MB / 0.5065 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4206, allocations: 12.03 kB / 0.5065 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04789/0.4685, allocations: 8.546 MB / 0.5148 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/0.4829, allocations: 6.007 MB / 0.5207 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008639/0.4838, allocations: 0.6584 MB / 0.5213 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003552/0.4873, allocations: 0.8749 MB / 0.5222 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4191/0.9064, allocations: 15.97 MB / 0.5378 GB, free: 88.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/0.9067, allocations: 8.312 kB / 0.5378 GB, free: 88.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.9082, allocations: 367.5 kB / 0.5381 GB, free: 88.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005908/0.9088, allocations: 0.5583 MB / 0.5387 GB, free: 88.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02531/0.9341, allocations: 15.72 MB / 0.554 GB, free: 83.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07205/1.006, allocations: 46.6 MB / 0.5995 GB, free: 42.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/1.021, allocations: 8.486 MB / 0.6078 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004672/1.026, allocations: 3.242 MB / 0.611 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/1.026, allocations: 107.1 kB / 0.6111 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.198e-05/1.026, allocations: 86.5 kB / 0.6112 GB, free: 30.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.865e-06/1.026, allocations: 0 / 0.6112 GB, free: 30.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02337/1.05, allocations: 11.07 MB / 0.622 GB, free: 19.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.05, allocations: 125.1 kB / 0.6221 GB, free: 19.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006559/1.056, allocations: 3.85 MB / 0.6259 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.057, allocations: 105.6 kB / 0.626 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002107/1.059, allocations: 4.043 MB / 0.6299 GB, free: 11.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002021/1.061, allocations: 1.691 MB / 0.6316 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003211/1.065, allocations: 1.477 MB / 0.633 GB, free: 8.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/1.065, allocations: 301.1 kB / 0.6333 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004866/1.07, allocations: 3.684 MB / 0.6369 GB, free: 4.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007113/1.077, allocations: 6.523 MB / 0.6433 GB, free: 12.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/1.093, allocations: 10.83 MB / 0.6538 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.88e-05/1.093, allocations: 31.94 kB / 0.6539 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0244/1.118, allocations: 11.92 MB / 0.6655 GB, free: 4.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/1.118, allocations: 44 kB / 0.6656 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/1.118, allocations: 100.2 kB / 0.6657 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005435/1.123, allocations: 1.625 MB / 0.6672 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00667/1.13, allocations: 1.661 MB / 0.6689 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/1.153, allocations: 17.05 MB / 0.6855 GB, free: 15.56 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006296/1.159, allocations: 0.9781 MB / 0.6865 GB, free: 14.57 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/1.16, allocations: 356 kB / 0.6868 GB, free: 14.23 MB / 0.4982 GB 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.008054/1.168, allocations: 3.754 MB / 0.6905 GB, free: 10.46 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/1.17, allocations: 417.3 kB / 0.6909 GB, free: 10.05 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/1.189, allocations: 8.526 MB / 0.6992 GB, free: 1.438 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/1.189, allocations: 55.94 kB / 0.6992 GB, free: 1.383 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-05/1.189, allocations: 12 kB / 0.6993 GB, free: 1.371 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/1.189, allocations: 23.91 kB / 0.6993 GB, free: 1.348 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03708/1.226, allocations: 16.81 MB / 0.7157 GB, free: 376 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/1.226, allocations: 8.062 kB / 0.7157 GB, free: 368 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004144/1.23, allocations: 0.862 MB / 0.7165 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005334/1.236, allocations: 1.515 MB / 0.718 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008893/1.237, allocations: 104 kB / 0.7181 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02308/1.26, allocations: 16.86 MB / 0.7346 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.26, allocations: 0 / 0.7346 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2859/1.546, allocations: 12.22 MB / 0.7465 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003878/1.55, allocations: 1.079 MB / 0.7476 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008874/1.55, allocations: 84.12 kB / 0.7476 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/1.553, allocations: 307.9 kB / 0.7479 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008486/1.554, allocations: 334.9 kB / 0.7483 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/1.554, allocations: 141.5 kB / 0.7484 GB, free: 178.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00368/1.558, allocations: 2.578 MB / 0.7509 GB, free: 178 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.558, allocations: 0 / 0.7509 GB, free: 178 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006573/1.565, allocations: 2.403 MB / 0.7533 GB, free: 177.9 MB / 0.545 GB 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.0006501/1.565, allocations: 263.9 kB / 0.7535 GB, free: 177.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0165/1.582, allocations: 8.988 MB / 0.7623 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.582, allocations: 0 / 0.7623 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/1.592, allocations: 4.176 MB / 0.7664 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005594/1.597, allocations: 0.7287 MB / 0.7671 GB, free: 173.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/1.624, allocations: 17.2 MB / 0.7839 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006599/1.631, allocations: 6.042 MB / 0.7898 GB, free: 162.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006462/1.637, allocations: 3.255 MB / 0.793 GB, free: 160.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.638, allocations: 372.9 kB / 0.7933 GB, free: 159.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.322e-06/1.638, allocations: 3.938 kB / 0.7933 GB, free: 159.7 MB / 0.545 GB Notification: Performance of Templates: time 0.09984/1.738, allocations: 72.08 MB / 0.8637 GB, free: 90 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 8.400981148704886]