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.001277/0.001277, allocations: 108.6 kB / 21.18 MB, free: 0.7812 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.001375/0.001375, allocations: 185.9 kB / 24.47 MB, free: 4.207 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.424/1.424, allocations: 225.6 MB / 253.3 MB, free: 13 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.001512/0.001512, allocations: 47.91 kB / 371.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01231/0.2463, allocations: 10.08 MB / 434 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007309/0.2536, allocations: 3.365 MB / 437.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.2556, allocations: 83.62 kB / 437.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009493/0.2651, allocations: 3.879 MB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.2704, allocations: 1.585 MB / 442.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.2733, allocations: 1.074 MB / 443.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01168/0.285, allocations: 9.224 MB / 453.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02289/0.3079, allocations: 12.94 MB / 466.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008628/0.3165, allocations: 5.175 MB / 471.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/0.328, allocations: 6.149 MB / 477.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00441/0.3324, allocations: 1.398 MB / 478.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005997/0.3384, allocations: 1.633 MB / 480.5 MB, free: 5.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00522/0.3437, allocations: 2.923 MB / 483.4 MB, free: 2.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01055/0.3542, allocations: 5.455 MB / 488.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02458/0.3788, allocations: 18.89 MB / 0.4958 GB, free: 10.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3788, allocations: 0 / 0.4958 GB, free: 10.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3788, allocations: 0 / 0.4958 GB, free: 10.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005244/0.3793, allocations: 0 / 0.4958 GB, free: 10.49 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.03781/0.4171, allocations: 12.39 MB / 0.5079 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4172, allocations: 8.031 kB / 0.5079 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05017/0.4673, allocations: 8.542 MB / 0.5163 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01726/0.4846, allocations: 6.004 MB / 0.5221 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009786/0.4856, allocations: 0.6584 MB / 0.5228 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005131/0.4907, allocations: 0.8671 MB / 0.5236 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4912/0.982, allocations: 15.98 MB / 0.5392 GB, free: 88.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003471/0.9823, allocations: 8.625 kB / 0.5392 GB, free: 88.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/0.9844, allocations: 368.6 kB / 0.5396 GB, free: 88.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005541/0.985, allocations: 0.555 MB / 0.5401 GB, free: 88.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02688/1.012, allocations: 15.73 MB / 0.5555 GB, free: 83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06899/1.081, allocations: 46.59 MB / 0.601 GB, free: 41.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/1.093, allocations: 8.49 MB / 0.6093 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/1.097, allocations: 3.242 MB / 0.6124 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/1.097, allocations: 107.2 kB / 0.6126 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/1.097, allocations: 90.5 kB / 0.6126 GB, free: 29.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.662e-06/1.097, allocations: 0 / 0.6126 GB, free: 29.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01844/1.116, allocations: 11.07 MB / 0.6234 GB, free: 18.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/1.116, allocations: 125.1 kB / 0.6236 GB, free: 18.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004696/1.12, allocations: 3.854 MB / 0.6273 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006829/1.121, allocations: 101.7 kB / 0.6274 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001515/1.123, allocations: 4.048 MB / 0.6314 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.124, allocations: 1.688 MB / 0.633 GB, free: 9.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001814/1.126, allocations: 1.469 MB / 0.6345 GB, free: 7.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.667e-05/1.126, allocations: 305.1 kB / 0.6348 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00431/1.13, allocations: 3.688 MB / 0.6384 GB, free: 3.789 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006914/1.137, allocations: 6.523 MB / 0.6447 GB, free: 11.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/1.152, allocations: 10.82 MB / 0.6553 GB, free: 15.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.59e-05/1.152, allocations: 31.94 kB / 0.6553 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0218/1.174, allocations: 11.92 MB / 0.667 GB, free: 3.773 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.872e-05/1.174, allocations: 47.75 kB / 0.667 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/1.174, allocations: 103.9 kB / 0.6671 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004803/1.179, allocations: 1.621 MB / 0.6687 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006141/1.185, allocations: 1.665 MB / 0.6703 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/1.206, allocations: 17.05 MB / 0.687 GB, free: 14.57 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005449/1.212, allocations: 0.9742 MB / 0.6879 GB, free: 13.59 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.213, allocations: 364 kB / 0.6883 GB, free: 13.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.006626/1.219, allocations: 3.754 MB / 0.6919 GB, free: 9.465 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.221, allocations: 417.3 kB / 0.6923 GB, free: 9.055 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.236, allocations: 8.522 MB / 0.7007 GB, free: 460 kB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/1.237, allocations: 51.94 kB / 0.7007 GB, free: 408 kB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-05/1.237, allocations: 12 kB / 0.7007 GB, free: 396 kB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.564e-05/1.237, allocations: 23.91 kB / 0.7007 GB, free: 372 kB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/1.268, allocations: 16.81 MB / 0.7172 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/1.268, allocations: 4 kB / 0.7172 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/1.271, allocations: 0.8581 MB / 0.718 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004772/1.276, allocations: 1.511 MB / 0.7195 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006232/1.277, allocations: 103.9 kB / 0.7196 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/1.298, allocations: 16.86 MB / 0.736 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.298, allocations: 7.938 kB / 0.7361 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2344/1.533, allocations: 12.21 MB / 0.748 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003392/1.536, allocations: 1.08 MB / 0.749 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008755/1.537, allocations: 83.64 kB / 0.7491 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/1.539, allocations: 307.6 kB / 0.7494 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007532/1.54, allocations: 337 kB / 0.7497 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/1.541, allocations: 138.6 kB / 0.7499 GB, free: 178.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003785/1.544, allocations: 2.577 MB / 0.7524 GB, free: 178.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.544, allocations: 0.6562 kB / 0.7524 GB, free: 178.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006741/1.551, allocations: 2.404 MB / 0.7547 GB, free: 178 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.0007645/1.552, allocations: 263.9 kB / 0.755 GB, free: 177.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01245/1.564, allocations: 8.992 MB / 0.7638 GB, free: 175.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.564, allocations: 3.156 kB / 0.7638 GB, free: 175.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006412/1.571, allocations: 4.172 MB / 0.7678 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004653/1.575, allocations: 0.7379 MB / 0.7686 GB, free: 172.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.601, allocations: 17.14 MB / 0.7853 GB, free: 165.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005534/1.606, allocations: 5.935 MB / 0.7911 GB, free: 161.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/1.608, allocations: 430 kB / 0.7915 GB, free: 160.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.633e-06/1.608, allocations: 0 / 0.7915 GB, free: 160.8 MB / 0.545 GB Notification: Performance of Templates: time 0.8446/2.453, allocations: 417.8 MB / 1.2 GB, free: 175.5 MB / 0.5607 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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: 16.67557960585691]